X-Git-Url: https://plomlompom.com/repos/?a=blobdiff_plain;ds=sidebyside;f=server%2Fcommands.py;h=c17635e3f369d7119f10c0c15cd89b308b5d0ef2;hb=778a1f997e42e4a5a9cbe60140b4ebe8c0b1c37f;hp=31bbea633023bca3d5edff3e5e29b7fedc9d12f4;hpb=a9a439607a1bd860c4274e77b42bbf6f16a333da;p=plomrogue diff --git a/server/commands.py b/server/commands.py index 31bbea6..c17635e 100644 --- a/server/commands.py +++ b/server/commands.py @@ -429,7 +429,7 @@ def play_wait(): def action_exists(action): matching_actions = [x for x in world_db["ThingActions"] if world_db["ThingActions"][x]["TA_NAME"] == action] - if len(matching_actions) > 1: + if len(matching_actions) >= 1: return True print("No appropriate ThingAction defined.") return False