mirror of
https://github.com/jugeeya/UltimateTrainingModpack.git
synced 2024-11-27 20:34:03 +00:00
Hotfix: Nana not moving on save state load
This commit is contained in:
parent
745baef640
commit
89569c7154
1 changed files with 6 additions and 0 deletions
|
@ -423,6 +423,12 @@ pub unsafe fn save_states(module_accessor: &mut app::BattleObjectModuleAccessor)
|
|||
StatusModule::change_status_request(module_accessor, *FIGHTER_STATUS_KIND_DEAD, false);
|
||||
}
|
||||
|
||||
// Nana shouldn't control her state here. Popo will give a signal to have
|
||||
// Nana move into NanaPosMove once he moves.
|
||||
if fighter_is_nana {
|
||||
return;
|
||||
}
|
||||
|
||||
save_state.state = WaitForAlive;
|
||||
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue