From 6d11d947ea8860da01922be28a0657b8e33f7a93 Mon Sep 17 00:00:00 2001
From: Christian Heller <c.heller@plomlompom.de>
Date: Wed, 4 Mar 2015 14:45:20 +0100
Subject: [PATCH] Server/py: Fix actor_drop logging.

---
 plomrogue-server.py | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/plomrogue-server.py b/plomrogue-server.py
index cb7f9b0..e763a3d 100755
--- a/plomrogue-server.py
+++ b/plomrogue-server.py
@@ -455,7 +455,7 @@ def actor_wait(t):
         strong_write(io_db["file_out"], "LOG You wait.\n")
 
 
-def actor_move(Thing):
+def actor_move(t):
     pass
 
 
@@ -484,12 +484,13 @@ def actor_drop(t):
         t["T_CARRIES"].remove(id)
         world_db["Things"][id]["carried"] = False
         if t == world_db["Things"][0]:
-            print("You drop an object.")
+            strong_write(io_db["file_out"], "LOG You drop an object.\n")
     elif t == world_db["Things"][0]:
-        print("You try to drop an object, but you own none.")
+        err = "You try to drop an object, but you own none."
+        strong_write(io_db["file_out"], "LOG " + err + "\n")
 
 
-def actor_use(Thing):
+def actor_use(t):
     pass
 
 
-- 
2.30.2