Looks like this is _possibly_ working but the last step of actually loading a save needs to be figured out.

This commit is contained in:
Zed A. Shaw 2024-11-06 07:18:59 -05:00
parent 6add24fed2
commit 99d56b246c
5 changed files with 37 additions and 9 deletions

View file

@ -59,7 +59,7 @@ void GUI::resize_map(int new_size) {
void GUI::save_world() {
$log.log("Game saved!");
save::to_file("./savefile.world", $world);
save::to_file("./savefile.world", $world, $game_map);
}
void GUI::create_renderer() {