home · contact · privacy
Output message about inability to set world active.
[plomrogue] / roguelike-server
index 741046a015e679447721f58b4d1ab924d4f48e9d..c64c9122d15d37ae88bb2da3c7a668857bf519cd 100755 (executable)
@@ -110,7 +110,8 @@ def obey(command, prefix, replay=False, do_record=False):
     is called (and io_db["record_chunk"] written) if 15 seconds have passed
     since the last time it was called. The prefix string is inserted into the
     server's input message between its beginning 'input ' and ':'. All activity
-    is preceded by a server_test() call.
+    is preceded by a server_test() call. Commands that start with a lowercase
+    letter are ignored when world_db["WORLD_ACTIVE"] is False/0.
     """
     server_test()
     if io_db["verbose"]:
@@ -1376,6 +1377,8 @@ def command_worldactive(worldactive_string):
                         if 0 == id:
                             update_map_memory(world_db["Things"][id], False)
                 world_db["WORLD_ACTIVE"] = 1
+            else:
+                print("Ignoring: Not all conditions for world activation met.")
 
 
 def test_for_id_maker(object, category):