From fbfdf2ed32f5fed64b3940c84c0b0b0aa814818b Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Sun, 21 Feb 2016 21:26:41 +0100 Subject: [PATCH] Server: Fix typo, remove deprecated outcommented code. --- server/actions.py | 2 +- server/world.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/server/actions.py b/server/actions.py index 537dcb1..849b026 100644 --- a/server/actions.py +++ b/server/actions.py @@ -33,7 +33,7 @@ def actor_move(t): if t == world_db["Things"][0]: hitted_type = world_db["Things"][hit_id]["T_TYPE"] hitted_name = world_db["ThingTypes"][hitted_type]["TT_NAME"] - log("You WOUND" + hitted_name + ".") + log("You WOUND " + hitted_name + ".") elif 0 == hit_id: hitter_name = world_db["ThingTypes"][t["T_TYPE"]]["TT_NAME"] log(hitter_name +" WOUNDS you.") diff --git a/server/world.py b/server/world.py index 902a554..7940f70 100644 --- a/server/world.py +++ b/server/world.py @@ -342,7 +342,6 @@ def turn_over(): if Thing["T_PROGRESS"] == ThingAction["TA_EFFORT"]: action = action_db["actor_" + ThingAction["TA_NAME"]] action(Thing) - #eval("actor_" + ThingAction["TA_NAME"])(Thing) Thing["T_COMMAND"] = 0 Thing["T_PROGRESS"] = 0 thingproliferation(Thing, proliferable_map) -- 2.30.2