fix windows build

This commit is contained in:
MihailRis
2025-02-04 13:32:50 +03:00
parent 8a12ff5879
commit 94bae83de6
4 changed files with 10 additions and 12 deletions
+2 -2
View File
@@ -326,8 +326,8 @@ void Engine::loadAssets() {
}
static void load_configs(const io::path& root) {
auto configFolder = root/io::path("config");
auto bindsFile = configFolder/io::path("bindings.toml");
auto configFolder = root / "config";
auto bindsFile = configFolder / "bindings.toml";
if (io::is_regular_file(bindsFile)) {
Events::loadBindings(
bindsFile.string(), io::read_string(bindsFile), BindType::BIND