home
·
contact
·
privacy
projects
/
plomrogue
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
033d924
)
Fix bug that created None id'd things in new worlds.
author
Christian Heller
<c.heller@plomlompom.de>
Tue, 25 Aug 2015 04:05:32 +0000
(06:05 +0200)
committer
Christian Heller
<c.heller@plomlompom.de>
Tue, 25 Aug 2015 04:05:32 +0000
(06:05 +0200)
roguelike-server
patch
|
blob
|
history
diff --git
a/roguelike-server
b/roguelike-server
index 3672296a1fd710a115638e57b418338baef16423..db5e93bb61c5282f649c239f4d03a1d1bc1093f9 100755
(executable)
--- 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