mirror of
https://github.com/huderlem/porymap.git
synced 2026-06-18 05:39:29 -05:00
Write configs on load
This commit is contained in:
parent
f42e148b6c
commit
4f5d98b81a
|
|
@ -80,7 +80,6 @@ void KeyValueConfigBase::load() {
|
|||
} else {
|
||||
file.close();
|
||||
this->onNewConfigFileCreated();
|
||||
this->save();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -111,6 +110,7 @@ void KeyValueConfigBase::load() {
|
|||
this->parseConfigKeyValue(match.captured("key").trimmed().toLower(), match.captured("value").trimmed());
|
||||
}
|
||||
this->setUnreadKeys();
|
||||
this->save();
|
||||
|
||||
file.close();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user