Game genPublicId() namespace fixed

This commit is contained in:
Wiesner András 2024-10-07 20:00:45 +02:00
parent 3fda9c8c0a
commit f3ae982c9c

View File

@ -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
}
// -------
}
}