mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
fix windows build
This commit is contained in:
parent
8a12ff5879
commit
94bae83de6
4 changed files with 10 additions and 12 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue