Game genPublicId() namespace fixed
This commit is contained in:
parent
3fda9c8c0a
commit
f3ae982c9c
@ -31,7 +31,7 @@ class Game extends AutoStoring
|
|||||||
|
|
||||||
// -------
|
// -------
|
||||||
|
|
||||||
static private function genPublicId(): string
|
static public function genPublicId(): string
|
||||||
{
|
{
|
||||||
return uniqid("p");
|
return uniqid("p");
|
||||||
}
|
}
|
||||||
@ -386,7 +386,7 @@ class GameMgr
|
|||||||
"game_file_present" => false,
|
"game_file_present" => false,
|
||||||
"properties" => $properties,
|
"properties" => $properties,
|
||||||
"public" => false,
|
"public" => false,
|
||||||
"public_id" => self::genPublicId(),
|
"public_id" => Game::genPublicId(),
|
||||||
"version" => Game::CURRENT_GAME_VERSION
|
"version" => Game::CURRENT_GAME_VERSION
|
||||||
];
|
];
|
||||||
|
|
||||||
@ -431,4 +431,4 @@ class GameMgr
|
|||||||
}
|
}
|
||||||
|
|
||||||
// -------
|
// -------
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user