From 20da835cb5f85fc3416caef6e70bd74711bd75d0 Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Sat, 7 Mar 2015 22:36:12 +0100 Subject: [PATCH] Server/py: Don't replicate wrongful actor_use() behavior from original. --- plomrogue-server.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/plomrogue-server.py b/plomrogue-server.py index cc7ddf7..2b65287 100755 --- a/plomrogue-server.py +++ b/plomrogue-server.py @@ -668,8 +668,6 @@ def actor_use(t): t["T_CARRIES"].remove(id) del world_db["Things"][id] t["T_SATIATION"] += world_db["ThingTypes"][type]["TT_CONSUMABLE"] - t["T_LIFEPOINTS"] += 1 - # Wrongly increment HPs is a replica of the original code. strong_write(io_db["file_out"], "LOG You consume this object.\n") else: strong_write(io_db["file_out"], "LOG You try to use this object," + -- 2.30.2