From d9387d37c9b9d1bee65694d0eb24bb028f26f32a Mon Sep 17 00:00:00 2001
From: Christian Heller <c.heller@plomlompom.de>
Date: Wed, 17 Feb 2016 01:56:52 +0100
Subject: [PATCH] Server: Fix bug in action_exists().

---
 server/commands.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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
-- 
2.30.2