From: Christian Heller Date: Sun, 21 Feb 2016 20:26:41 +0000 (+0100) Subject: Server: Fix typo, remove deprecated outcommented code. X-Git-Tag: tce~191 X-Git-Url: https://plomlompom.com/repos/te"st.html?a=commitdiff_plain;h=fbfdf2ed32f5fed64b3940c84c0b0b0aa814818b;p=plomrogue Server: Fix typo, remove deprecated outcommented code. --- 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)