mirror of
https://github.com/jugeeya/UltimateTrainingModpack.git
synced 2025-01-31 22:47:25 +00:00
State load mash fix (#370)
* Reset queue again to clear mash * Remove unnecessary reset
This commit is contained in:
parent
3695bdeb30
commit
e4248c2857
1 changed files with 1 additions and 1 deletions
|
@ -206,7 +206,6 @@ pub unsafe fn save_states(module_accessor: &mut app::BattleObjectModuleAccessor)
|
|||
SAVE_STATE_CPU.state = KillPlayer;
|
||||
}
|
||||
MIRROR_STATE = should_mirror();
|
||||
reset::on_reset();
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -291,6 +290,7 @@ pub unsafe fn save_states(module_accessor: &mut app::BattleObjectModuleAccessor)
|
|||
let lr = MIRROR_STATE * save_state.lr;
|
||||
PostureModule::set_pos(module_accessor, &pos);
|
||||
PostureModule::set_lr(module_accessor, lr);
|
||||
reset::on_reset();
|
||||
|
||||
if save_state.situation_kind == SITUATION_KIND_GROUND {
|
||||
if status != FIGHTER_STATUS_KIND_WAIT {
|
||||
|
|
Loading…
Reference in a new issue