home · contact · privacy
Server/py: Fix out file writing bug.
authorChristian Heller <c.heller@plomlompom.de>
Tue, 3 Mar 2015 00:54:36 +0000 (01:54 +0100)
committerChristian Heller <c.heller@plomlompom.de>
Tue, 3 Mar 2015 00:54:36 +0000 (01:54 +0100)
plomrogue-server.py

index cd54c86965c46d9cdd87530f2948d15c8df61e16..b6f9d8f15a4d6d87871a28e5bdddf4235e46ac02 100755 (executable)
@@ -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):