home · contact · privacy
Server/py: Don't save world map in savefile.
[plomrogue] / plomrogue-server.py
index 0e42ceeccbaf3d0665a29cecf1e94aae1048a848..a1e3a44f120530276d61fbbb3f1cc08f4438e705 100755 (executable)
@@ -164,7 +164,7 @@ def save_world():
 
     string = ""
     for key in world_db:
-        if dict != type(world_db[key]):
+        if dict != type(world_db[key]) and key != "MAP":
             string = string + key + " " + str(world_db[key]) + "\n"
     string = string + helper("ThingActions", "TA_ID")
     string = string + helper("ThingTypes", "TT_ID", {"TT_CORPSE_ID": False})