Skip to content

Commit

Permalink
Update server.py
Browse files Browse the repository at this point in the history
  • Loading branch information
svenar-nl committed Sep 12, 2021
1 parent 67fb6ba commit 6cbed70
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions server.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import os
from fastapi import FastAPI, WebSocket, WebSocketDisconnect

import random
Expand All @@ -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)
Expand Down Expand Up @@ -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)
json.dump(data, outfile)

0 comments on commit 6cbed70

Please sign in to comment.