Fixed a minor ini key duplication bug
This commit is contained in:
parent
773ce7fde6
commit
6eacf1aa92
@ -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");
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user