diff --git a/worldbuild-manager.py b/worldbuild-manager.py index e5e16d4..694dabf 100755 --- a/worldbuild-manager.py +++ b/worldbuild-manager.py @@ -123,6 +123,7 @@ def set_state(state, name, status): state[name_major]["status"] = "skip" else: state[name_major]["status"] = "pending" + save_state(state) else: print("WARNING: Invalid status '" + status + "' recived from " + name) return state @@ -170,8 +171,6 @@ try: if action == "set": state = set_state(state, name, status) - save_state(state) - elif action == "get": tile = "" # Build poles first