X-Git-Url: https://plomlompom.com/repos/foo.html?a=blobdiff_plain;f=server%2Fcommands.py;h=df4f962ab2ddbe9ca504f49ba58d3c8812046b8a;hb=8c88406d32ad014785ffb195fd34e0b7502ccfc6;hp=b8216a0fec6433699401b6eefc9cfa4bf41a7080;hpb=2235b640094c90718ec5d4984a57925a5e30e193;p=plomrogue
diff --git a/server/commands.py b/server/commands.py
index b8216a0..df4f962 100644
--- a/server/commands.py
+++ b/server/commands.py
@@ -314,8 +314,8 @@ def command_taname(name):
The name must match a valid thing action function. If after the name
setting no ThingAction with name "wait" remains, call set_world_inactive().
"""
- if name == "wait" or name == "move" or name == "use" or name == "drop" \
- or name == "pickup":
+ from server.config.commands import commands_db
+ if name in commands_db and name.islower():
world_db["ThingActions"][command_taid.id]["TA_NAME"] = name
if 1 == world_db["WORLD_ACTIVE"]:
for id in world_db["ThingActions"]: