From d718b0b34eda84744778fa12a01d5be5f03753d3 Mon Sep 17 00:00:00 2001 From: PilzAdam Date: Tue, 13 Aug 2013 19:15:06 +0200 Subject: Dont write directly to files but rather write and copy a tmp file --- src/subgame.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/subgame.cpp') diff --git a/src/subgame.cpp b/src/subgame.cpp index 7fee3899d..806d65934 100644 --- a/src/subgame.cpp +++ b/src/subgame.cpp @@ -241,8 +241,9 @@ bool initializeWorld(const std::string &path, const std::string &gameid) if(!fs::PathExists(worldmt_path)){ infostream<<"Creating world.mt ("<