diff options
author | rtk0c <[email protected]> | 2021-05-30 23:00:41 -0700 |
---|---|---|
committer | rtk0c <[email protected]> | 2021-05-30 23:00:41 -0700 |
commit | c90f78df080a9891930ee346b0ad87498ba5b697 (patch) | |
tree | c4f4c475086337e25cbb985625423591c47310e1 /core/src/Entrypoint/main.cpp | |
parent | 088da97531935a61870ecada10f06b9b9a8255d1 (diff) |
Initial work on templates UI
Diffstat (limited to 'core/src/Entrypoint/main.cpp')
-rw-r--r-- | core/src/Entrypoint/main.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/core/src/Entrypoint/main.cpp b/core/src/Entrypoint/main.cpp index 2d0238e..152a1c8 100644 --- a/core/src/Entrypoint/main.cpp +++ b/core/src/Entrypoint/main.cpp @@ -156,11 +156,7 @@ int main(int argc, char* argv[]) GlobalStates::Init(); } else { fs::path path(dataDirOption); - if (fs::exists(path)) { - GlobalStates::Init(std::move(path)); - } else { - GlobalStates::Init(); - } + GlobalStates::Init(std::move(path)); } DEFER { |