1
0
Fork 0
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:
jugeeya 2023-03-05 09:31:42 -08:00
parent 745baef640
commit 89569c7154

View file

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