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");
 | 
			
		||||
    }
 | 
			
		||||
@ -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
 | 
			
		||||
        ];
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user