home
·
contact
·
privacy
projects
/
plomrogue
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
More lenient python3 existence test.
[plomrogue]
/
roguelike-server
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
id = id + 1
if id not in world_db[category]:
break
- return None
if id_store:
id_store.id = id
return id
if id_store:
id_store.id = id
return id