aboutsummaryrefslogtreecommitdiff
path: root/core/src/Entrypoint
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/Entrypoint')
-rw-r--r--core/src/Entrypoint/main.cpp6
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
{