home
·
contact
·
privacy
projects
/
plomrogue
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Server/py: More consistent error messaging.
[plomrogue]
/
plomrogue-server.py
diff --git
a/plomrogue-server.py
b/plomrogue-server.py
index 1fec5d5b5b5467328ca41afcca8f1d559800015f..73d7c232febc3edf7776b899b5e7a74c8cb72d32 100755
(executable)
--- a/
plomrogue-server.py
+++ b/
plomrogue-server.py
@@
-387,14
+387,14
@@
def command_taname(name):
wait_defined = False
for id in world_db["ThingActions"]:
if "wait" == world_db["ThingActions"][id]["TA_NAME"]:
wait_defined = False
for id in world_db["ThingActions"]:
if "wait" == world_db["ThingActions"][id]["TA_NAME"]:
- wait_defined = True
+ wait_defined = True
break
if not wait_defined:
set_world_inactive()
else:
print("Ignoring: Invalid action name.")
else:
break
if not wait_defined:
set_world_inactive()
else:
print("Ignoring: Invalid action name.")
else:
- print("No thing action defined to manipulate yet.")
+ print("
Ignoring:
No thing action defined to manipulate yet.")
# In contrast to the original,naming won't map a function to a ThingAction.
# In contrast to the original,naming won't map a function to a ThingAction.