From 8005ebbc6fde2ddb916d591a2f6130f83208640e Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Tue, 3 Mar 2015 01:54:36 +0100 Subject: [PATCH] Server/py: Fix out file writing bug. --- plomrogue-server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plomrogue-server.py b/plomrogue-server.py index cd54c86..b6f9d8f 100755 --- 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): -- 2.30.2