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