store history into data folder
This commit is contained in:
+1
-1
@@ -90,7 +90,7 @@ class Server:
|
||||
if self.store_game_state:
|
||||
self.running_games[game_state["game"]["id"]] = GameStorage(
|
||||
self.snake_type,
|
||||
path=os.path.join(self.data_path, 'data', 'history'),
|
||||
path=os.path.join(self.data_path, 'data'),
|
||||
no_store_turns=self.store_game_when_win_and_moves_are_bigger_as
|
||||
)
|
||||
self.running_games[game_state["game"]["id"]].start_new_game(game_state["game"], game_state["board"], game_state["you"])
|
||||
|
||||
Reference in New Issue
Block a user