diff --git a/server.py b/server.py index c56cb45..ec84872 100644 --- a/server.py +++ b/server.py @@ -1,3 +1,4 @@ +import os from fastapi import FastAPI, WebSocket, WebSocketDisconnect import random @@ -7,7 +8,7 @@ from pathlib import Path import json -SERVER_GAME_VERSION = "v1.8" +SERVER_GAME_VERSION = "v1.9" MAP_SEED = 42069 MAP_SIZE = {"x": 200, "y": 300} # *32 (tilesize) @@ -463,4 +464,4 @@ def save_fs_data(save_map_data: bool = True, save_player_data: bool = True): data = { "player_data": PLAYER_DATA } - json.dump(data, outfile) \ No newline at end of file + json.dump(data, outfile)