mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
Saving settings
This commit is contained in:
parent
7608300750
commit
b14ef4f923
3 changed files with 6 additions and 5 deletions
|
|
@ -57,6 +57,9 @@ int main() {
|
|||
}
|
||||
Engine engine(settings);
|
||||
engine.mainloop();
|
||||
|
||||
std::cout << "-- saving settings" << std::endl;
|
||||
files::write_string(settings_file, wrapper.write());
|
||||
}
|
||||
catch (const initialize_error& err) {
|
||||
std::cerr << "could not to initialize engine" << std::endl;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue