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:
- 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.