home · contact · privacy
Server: Fix typo, remove deprecated outcommented code.
authorChristian Heller <c.heller@plomlompom.de>
Sun, 21 Feb 2016 20:26:41 +0000 (21:26 +0100)
committerChristian Heller <c.heller@plomlompom.de>
Sun, 21 Feb 2016 20:26:41 +0000 (21:26 +0100)
server/actions.py
server/world.py

index 537dcb175512fc89779f7f49f9b3e1a3d223c203..849b02661174b41df67658fe92ffddadfd5558d6 100644 (file)
@@ -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.")
index 902a554dfe9c534bce435fdb620f3030f42d3d1e..7940f70d700f177be5c9bce75374e8f8de0fcab9 100644 (file)
@@ -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)