1
0
Fork 0
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:
GradualSyrup 2022-06-07 20:36:44 -05:00 committed by GitHub
parent 3695bdeb30
commit e4248c2857
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 {