paths: ensure imgui and game_config respects the project path (#1505)

* paths: ensure `imgui` respects the project path

* paths: remove extra creation of `game_config/` this is done when the settings are saved
This commit is contained in:
Tyler Wilding
2022-06-21 18:22:31 -04:00
committed by GitHub
parent 65f47f2bfc
commit 818485b501
3 changed files with 7 additions and 3 deletions
+2 -1
View File
@@ -297,7 +297,8 @@ void MercModelGroup::serialize(Serializer& ser) {
void Level::serialize(Serializer& ser) {
ser.from_ptr(&version);
if (ser.is_loading() && version != TFRAG3_VERSION) {
ASSERT_MSG(false, fmt::format("version mismatch when loading tfrag3 data. Got {}, expected {}",
ASSERT_MSG(false, fmt::format("version mismatch when loading tfrag3 data. Got {}, expected {}, "
"did you forget to re-decompile?",
version, TFRAG3_VERSION));
}