diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-03-29 00:07:50 +0100 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-03-29 00:07:50 +0100 |
commit | 6eacf1aa922b9dd2193a835e6a45ddf71fbbb729 (patch) | |
tree | 236a04d18101f859f131942d9f8fbf1cd8d655d4 /src/Root.cpp | |
parent | Fixed non-virtual destructors warnings. (diff) | |
download | cuberite-6eacf1aa922b9dd2193a835e6a45ddf71fbbb729.tar cuberite-6eacf1aa922b9dd2193a835e6a45ddf71fbbb729.tar.gz cuberite-6eacf1aa922b9dd2193a835e6a45ddf71fbbb729.tar.bz2 cuberite-6eacf1aa922b9dd2193a835e6a45ddf71fbbb729.tar.lz cuberite-6eacf1aa922b9dd2193a835e6a45ddf71fbbb729.tar.xz cuberite-6eacf1aa922b9dd2193a835e6a45ddf71fbbb729.tar.zst cuberite-6eacf1aa922b9dd2193a835e6a45ddf71fbbb729.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Root.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Root.cpp b/src/Root.cpp index 3555afb45..ba4398b35 100644 --- a/src/Root.cpp +++ b/src/Root.cpp @@ -304,6 +304,7 @@ void cRoot::LoadWorlds(cIniFile & IniFile) { if (IniFile.GetKeyComment("Worlds", 0) != " World=secondworld") { + IniFile.DeleteKeyComment("Worlds", 0); IniFile.AddKeyComment("Worlds", " World=secondworld"); } } |