From a6fd795234fd4e4f9aebcfdc1771afd22c3c9c23 Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Wed, 25 Feb 2015 10:40:25 +0100 Subject: [PATCH] Server/py: Add error message on manipulating ThingAction yet undefined. --- plomrogue-server.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plomrogue-server.py b/plomrogue-server.py index b6196c3..edefac7 100755 --- a/plomrogue-server.py +++ b/plomrogue-server.py @@ -368,6 +368,9 @@ def command_taeffort(str_int): val = integer_test(str_int, 0, 255) if val: world_db["thing actions"][command_taid.id]["TA_EFFORT"] = val + else: + print("No thing action defined to manipulate yet.") + """Commands database. -- 2.30.2