mirror of
https://github.com/doukutsu-rs/doukutsu-rs
synced 2024-09-27 04:29:01 +00:00
Fix 'Load Game' behaving incorrectly when no save is present
This commit is contained in:
parent
eeb290a6f3
commit
79a6c93060
|
@ -291,6 +291,7 @@ impl SharedGameState {
|
|||
}
|
||||
|
||||
pub fn start_new_game(&mut self, ctx: &mut Context) -> GameResult {
|
||||
self.reset();
|
||||
#[cfg(feature = "scripting")]
|
||||
self.lua.reload_scripts(ctx)?;
|
||||
|
||||
|
|
Loading…
Reference in a new issue