rename method
This commit is contained in:
parent
e3f362cf23
commit
96beb132e8
@ -2315,14 +2315,14 @@ JS;
|
||||
//Восстановление манны 25% от мудрости за ход
|
||||
|
||||
if ($this->stats[$this->uids[$this->atacks[$id]['uid1']]]['yhod'] > 0) {
|
||||
$this->save_stats(
|
||||
$this->saveStats(
|
||||
$this->yhod_user(
|
||||
$this->atacks[$id]['uid2'], $this->atacks[$id]['uid1'],
|
||||
$this->stats[$this->uids[$this->atacks[$id]['uid1']]]['yhod']
|
||||
)
|
||||
);
|
||||
} elseif ($this->stats[$this->uids[$this->atacks[$id]['uid2']]]['yhod'] > 0) {
|
||||
$this->save_stats(
|
||||
$this->saveStats(
|
||||
$this->yhod_user(
|
||||
$this->atacks[$id]['uid1'], $this->atacks[$id]['uid2'],
|
||||
$this->stats[$this->uids[$this->atacks[$id]['uid2']]]['yhod']
|
||||
@ -4704,7 +4704,7 @@ JS;
|
||||
|
||||
//получаем данные о поединке
|
||||
|
||||
private function save_stats($uid): void
|
||||
private function saveStats($uid): void
|
||||
{
|
||||
Stats::saveBattleStats($this->stats[$this->uids[$uid]], $uid);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user