From 31cb9882de0c7f057a4ae7c90b772d7dca99ee52 Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Tue, 25 Aug 2015 06:05:32 +0200 Subject: [PATCH] Fix bug that created None id'd things in new worlds. --- roguelike-server | 1 - 1 file changed, 1 deletion(-) diff --git a/roguelike-server b/roguelike-server index 3672296..db5e93b 100755 --- a/roguelike-server +++ b/roguelike-server @@ -1079,7 +1079,6 @@ def id_setter(id, category, id_store=False, start_at_1=False): id = id + 1 if id not in world_db[category]: break - return None if id_store: id_store.id = id return id -- 2.30.2