home · contact · privacy
Server: Make ai func selectable.
[plomrogue] / server / commands.py
index 975e1bd4477800d0d3a22693aeba28981f6c76df..9a103372d91fd8aae96bf403dc93d7fc881a80d8 100644 (file)
@@ -507,6 +507,6 @@ def play_move(str_arg):
 
 def command_ai():
     """Call ai() on player Thing, then turn_over()."""
-    from server.ai import ai
-    ai(world_db["Things"][0])
+    from server.config.actions import ai_func
+    ai_func(world_db["Things"][0])
     turn_over()