From: Christian Heller Date: Tue, 25 Aug 2015 04:05:32 +0000 (+0200) Subject: Fix bug that created None id'd things in new worlds. X-Git-Tag: tce~334 X-Git-Url: https://plomlompom.com/repos/%7B%7B%20web_path%20%7D%7D/decks/todo?a=commitdiff_plain;h=31cb9882de0c7f057a4ae7c90b772d7dca99ee52;p=plomrogue Fix bug that created None id'd things in new worlds. --- 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