1
0
Fork 0
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:
Alula 2021-06-28 07:27:36 +02:00
parent eeb290a6f3
commit 79a6c93060
No known key found for this signature in database
GPG key ID: 3E00485503A1D8BA

View file

@ -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)?;