X-Git-Url: https://plomlompom.com/repos/?a=blobdiff_plain;f=server%2Fcommands.py;h=9a103372d91fd8aae96bf403dc93d7fc881a80d8;hb=c8f535af53bd1478065ee5daf1ff4230fe423249;hp=975e1bd4477800d0d3a22693aeba28981f6c76df;hpb=fbfdf2ed32f5fed64b3940c84c0b0b0aa814818b;p=plomrogue diff --git a/server/commands.py b/server/commands.py index 975e1bd..9a10337 100644 --- a/server/commands.py +++ b/server/commands.py @@ -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()