- fixed: INI sections for game vars were never created.

This commit is contained in:
Christoph Oelckers 2020-02-11 00:22:56 +01:00
parent 41f2c62ed1
commit f0039afa5e

View file

@ -4175,7 +4175,7 @@ badindex:
int32_t nValue = 0; int32_t nValue = 0;
insptr++; insptr++;
FString section = currentGame + ".Gamevars"; FString section = currentGame + ".Gamevars";
GameConfig->SetSection(section); GameConfig->SetSection(section, true);
switch (VM_DECODE_INST(tw)) switch (VM_DECODE_INST(tw))
{ {
case CON_SAVEGAMEVAR: case CON_SAVEGAMEVAR: