mirror of
https://github.com/doukutsu-rs/doukutsu-rs
synced 2025-01-04 01:57:51 +00:00
fix cutscene skip speeding up title screen (#75)
This commit is contained in:
parent
0db6b60251
commit
d45e611466
|
@ -179,6 +179,7 @@ impl Scene for TitleScene {
|
||||||
self.update_menu_cursor(state, ctx)?;
|
self.update_menu_cursor(state, ctx)?;
|
||||||
|
|
||||||
state.replay_state = ReplayState::None;
|
state.replay_state = ReplayState::None;
|
||||||
|
state.textscript_vm.flags.set_cutscene_skip(false);
|
||||||
|
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|
|
@ -1596,6 +1596,7 @@ impl TextScriptVM {
|
||||||
state.control_flags.set_tick_world(false);
|
state.control_flags.set_tick_world(false);
|
||||||
state.control_flags.set_control_enabled(false);
|
state.control_flags.set_control_enabled(false);
|
||||||
state.control_flags.set_interactions_disabled(true);
|
state.control_flags.set_interactions_disabled(true);
|
||||||
|
state.textscript_vm.flags.set_cutscene_skip(false);
|
||||||
|
|
||||||
exec_state = TextScriptExecutionState::Ended;
|
exec_state = TextScriptExecutionState::Ended;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue