From bfff0b6dfed59009ecf7b0ed2f9dabf3aac6f0a7 Mon Sep 17 00:00:00 2001
From: Christian Heller <c.heller@plomlompom.de>
Date: Wed, 26 Aug 2015 05:07:53 +0200
Subject: [PATCH] Fix save_world() bug.

---
 roguelike-server | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/roguelike-server b/roguelike-server
index b9eb86b..adba9bc 100755
--- a/roguelike-server
+++ b/roguelike-server
@@ -222,7 +222,7 @@ def save_world():
     for id in sorted(world_db["Things"].keys()):
         if [] != world_db["Things"][id]["T_CARRIES"]:
             string = string + "T_ID " + str(id) + "\n"
-            for carried in sorted(world_db["Things"][id]["T_CARRIES"].keys()):
+            for carried in sorted(world_db["Things"][id]["T_CARRIES"]):
                 string = string + "T_CARRIES " + str(carried) + "\n"
     string = string + "SEED_RANDOMNESS " + str(rand.seed) + "\n" + \
         "WORLD_ACTIVE " + str(world_db["WORLD_ACTIVE"])
-- 
2.30.2