Skip to content

Commit 3bef0c0

Browse files
committed
fix config not loading on startup
1 parent 907eb6e commit 3bef0c0

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/globals.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
std::mutex config_lock;
1010
std::string current_config = "deadlocked.toml";
1111
std::vector<std::string> available_configs = ListConfigs();
12-
Config config;
12+
Config config = LoadConfig(current_config);
1313

1414
std::mutex vinfo_lock;
1515
std::vector<PlayerInfo> player_info {32};

0 commit comments

Comments
 (0)