From f3ae982c9c8218e8ea33d94ee30e851e2f3400d8 Mon Sep 17 00:00:00 2001 From: Epagris Date: Mon, 7 Oct 2024 20:00:45 +0200 Subject: [PATCH] Game genPublicId() namespace fixed --- class/GameMgr.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/class/GameMgr.php b/class/GameMgr.php index ec672c8..9ea39da 100644 --- a/class/GameMgr.php +++ b/class/GameMgr.php @@ -31,7 +31,7 @@ class Game extends AutoStoring // ------- - static private function genPublicId(): string + static public function genPublicId(): string { return uniqid("p"); } @@ -386,7 +386,7 @@ class GameMgr "game_file_present" => false, "properties" => $properties, "public" => false, - "public_id" => self::genPublicId(), + "public_id" => Game::genPublicId(), "version" => Game::CURRENT_GAME_VERSION ]; @@ -431,4 +431,4 @@ class GameMgr } // ------- -} \ No newline at end of file +}