From 6d9f314e1bee6a748d2652870af43f918f8da828 Mon Sep 17 00:00:00 2001 From: lopar Date: Wed, 28 Oct 2020 14:33:50 +0200 Subject: [PATCH] =?UTF-8?q?=D0=9E=D0=B1=D1=80=D0=B0=D1=89=D0=B5=D0=BD?= =?UTF-8?q?=D0=B8=D0=B5=20=D0=BA=20=D0=B1=D0=B0=D0=BD=D0=BA=D0=BE=D0=B2?= =?UTF-8?q?=D1=81=D0=BA=D0=B8=D0=BC=20=D1=81=D1=80=D0=B5=D0=B4=D1=81=D1=82?= =?UTF-8?q?=D0=B2=D0=B0=D0=BC=20=D1=87=D0=B5=D1=80=D0=B5=D0=B7=20=D0=B3?= =?UTF-8?q?=D0=B5=D1=82=D1=82=D0=B5=D1=80.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- classes/UserInfo.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 '
Личное дело
';