mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
Build fix
This commit is contained in:
parent
5252856bbb
commit
3033f4f767
2 changed files with 3 additions and 2 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -22,3 +22,4 @@ Debug/voxel_engine
|
||||||
.project
|
.project
|
||||||
.git
|
.git
|
||||||
/Default/
|
/Default/
|
||||||
|
/controls.json
|
||||||
|
|
|
||||||
|
|
@ -95,7 +95,7 @@ int main() {
|
||||||
if (std::filesystem::is_regular_file(settings_file)) {
|
if (std::filesystem::is_regular_file(settings_file)) {
|
||||||
std::cout << "-- loading settings" << std::endl;
|
std::cout << "-- loading settings" << std::endl;
|
||||||
std::string content = files::read_string(settings_file);
|
std::string content = files::read_string(settings_file);
|
||||||
toml::Reader reader(&wrapper, settings_file, content);
|
toml::Reader reader(&wrapper, settings_file.string(), content);
|
||||||
reader.read();
|
reader.read();
|
||||||
}
|
}
|
||||||
Engine engine(settings);
|
Engine engine(settings);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue