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 +}