home · contact · privacy
7DRL: Don't save world_db["altar"].
authorChristian Heller <c.heller@plomlompom.de>
Thu, 12 Mar 2015 13:53:27 +0000 (14:53 +0100)
committerChristian Heller <c.heller@plomlompom.de>
Thu, 12 Mar 2015 13:53:27 +0000 (14:53 +0100)
roguelike-server

index 1a2e51937f76991701bc31e10f45f5ac95f23615..4de557c205b9f0d9bbd8a7a532025deb9a735bf5 100755 (executable)
@@ -212,6 +212,7 @@ def save_world():
     string = ""
     for key in world_db:
         if (dict != type(world_db[key])
+            and key != "altar"  # #
             and key != "MAP" and key != "WORLD_ACTIVE"):
             string = string + key + " " + str(world_db[key]) + "\n"
     string = string + mapsetter("MAP")()