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:
2b4005f
)
Server/py: Fix out file writing bug.
author
Christian Heller
<c.heller@plomlompom.de>
Tue, 3 Mar 2015 00:54:36 +0000
(
01:54
+0100)
committer
Christian Heller
<c.heller@plomlompom.de>
Tue, 3 Mar 2015 00:54:36 +0000
(
01:54
+0100)
plomrogue-server.py
patch
|
blob
|
history
diff --git
a/plomrogue-server.py
b/plomrogue-server.py
index cd54c86965c46d9cdd87530f2948d15c8df61e16..b6f9d8f15a4d6d87871a28e5bdddf4235e46ac02 100755
(executable)
--- a/
plomrogue-server.py
+++ b/
plomrogue-server.py
@@
-482,7
+482,7
@@
def command_makeworld(seed_string):
}
# generate fov map?
# TODO: Generate things (player first, with updated memory)
-
atomic_write(io_db["path_out"], "NEW_WORLD\n", do_append=True
)
+
strong_write(io_db["file_out"], "NEW_WORLD\n"
)
def command_maplength(maplength_string):