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:
4c4b54e
)
Fix buggy map existence test in command_worldactive().
author
Christian Heller
<c.heller@plomlompom.de>
Wed, 11 Mar 2015 13:33:33 +0000
(14:33 +0100)
committer
Christian Heller
<c.heller@plomlompom.de>
Wed, 11 Mar 2015 13:33:33 +0000
(14:33 +0100)
roguelike-server
patch
|
blob
|
history
diff --git
a/roguelike-server
b/roguelike-server
index 87a4e24267bad8afaca75e91d21cc73712b154ba..64ae1188a2265dff3f58f82b15adefb34a37982f 100755
(executable)
--- a/
roguelike-server
+++ b/
roguelike-server
@@
-1367,7
+1367,7
@@
def command_worldactive(worldactive_string):
if 0 == Thing:
player_exists = True
break
- if wait_exists and player_exists and
world_db["MAP"]
:
+ if wait_exists and player_exists and
"MAP" in world_db
:
for id in world_db["Things"]:
if world_db["Things"][id]["T_LIFEPOINTS"]:
build_fov_map(world_db["Things"][id])