home · contact · privacy
Fix bug that created None id'd things in new worlds.
authorChristian Heller <c.heller@plomlompom.de>
Tue, 25 Aug 2015 04:05:32 +0000 (06:05 +0200)
committerChristian Heller <c.heller@plomlompom.de>
Tue, 25 Aug 2015 04:05:32 +0000 (06:05 +0200)
roguelike-server

index 3672296a1fd710a115638e57b418338baef16423..db5e93bb61c5282f649c239f4d03a1d1bc1093f9 100755 (executable)
@@ -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