From 62fd080e7ec6884ee30dd7e20ca69f49ed2eb628 Mon Sep 17 00:00:00 2001 From: Misha <106913236+MishaProductions@users.noreply.github.com> Date: Tue, 30 Jan 2024 20:26:19 -0500 Subject: [PATCH] fix unloading --- LEGO1/lego/legoomni/src/common/legogamestate.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/LEGO1/lego/legoomni/src/common/legogamestate.cpp b/LEGO1/lego/legoomni/src/common/legogamestate.cpp index 8c1a6dff..aaab8dbc 100644 --- a/LEGO1/lego/legoomni/src/common/legogamestate.cpp +++ b/LEGO1/lego/legoomni/src/common/legogamestate.cpp @@ -423,7 +423,8 @@ void LegoGameState::StopPreviousAction(MxU32 p_area) // STUB: LEGO1 0x1003b060 void LegoGameState::HandleAction(MxU32 p_area) { - m_prevArea = p_area; + m_prevArea = m_unk0x424; + m_unk0x424 = p_area; BackgroundAudioManager()->Stop(); AnimationManager()->FUN_1005ef10(); VideoManager()->SetUnk0x554(0);