diff --git a/classes/UserInfo.php b/classes/UserInfo.php index eb5c774..abef12e 100644 --- a/classes/UserInfo.php +++ b/classes/UserInfo.php @@ -77,7 +77,7 @@ class UserInfo extends User $this->experience . '
' . $this->free_stat_points . '
' . $this->money . '
' . - $this->Bank->money; + $this->Bank->getMoney(); } $nameString = ''; if ($this->align) { @@ -139,7 +139,7 @@ class UserInfo extends User if ($this->watcherIsAdmin) { $this->Bank = new Bank($this->id); $infoString = '
ИД Игрока: %s
ИД Комнаты: %s
Деньги: %s
Деньги в банке: %s
Опыт: %s
Нераспределённые очки: %s
Текущая сессия: %s
'; - echo sprintf($infoString, $this->id, $this->room, $this->money, $this->Bank->money, $this->experience, $this->free_stat_points, $this->session_id); + echo sprintf($infoString, $this->id, $this->room, $this->money, $this->Bank->getMoney(), $this->experience, $this->free_stat_points, $this->session_id); } $this->UserLogs = new UserLogModel($this->id); echo '
Личное дело
';