Skip to content
Browse files

Fix some startup options being reset

  • Loading branch information
ShadowNinja committed Jul 6, 2014
1 parent 6c3d50f commit 546a2be65626d975befe5e9fb09061c4fe6a3561
Showing with 5 additions and 3 deletions.
  1. +5 −3
@@ -107,10 +107,12 @@ def announce():
server["clients_top"] = server["clients"]

# Make sure that startup options don't change
# Make sure that startup options are saved
if server["action"] != "start":
if "mods" in old:
server["mods"] = old["mods"]
for field in ("dedicated", "rollback", "mapgen", "privs",
"can_see_far_names", "mods"):
if field in old:
server[field] = old[field]

# Popularity
if old:

0 comments on commit 546a2be

Please sign in to comment.
You can’t perform that action at this time.