From b34045a89d969fd1e10b95c0662afc4b4b8d4c29 Mon Sep 17 00:00:00 2001 From: Epagris Date: Wed, 25 Sep 2024 09:22:23 +0200 Subject: [PATCH] - Game ID fixed --- class/GameMgr.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/class/GameMgr.php b/class/GameMgr.php index 7bfb8a2..507a875 100644 --- a/class/GameMgr.php +++ b/class/GameMgr.php @@ -13,7 +13,7 @@ class Game extends AutoStoring public const CURRENT_GAME_VERSION = 2; // MUST BE INCREMENTED!! // -------- - private int $_id; // Game's ID + private int $id; // Game's ID private string $name; // Game's name private string $owner; // Game's owner private array $contributors; // Contributors to the game @@ -291,7 +291,7 @@ class Game extends AutoStoring public function getId(): int { - return $this->_id; + return $this->id; } public function isGameFileIsPresent(): bool