LegoCarBuild::Escape to 100% (#1744)

This commit is contained in:
MS 2026-02-14 14:35:50 -05:00 committed by GitHub
parent 183a69874f
commit 8a77540169
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1681,8 +1681,7 @@ void LegoCarBuild::HandleEndAnim()
MxBool LegoCarBuild::Escape()
{
BackgroundAudioManager()->Init();
MxS32 targetEntityId = GetBuildMovieId(m_carId);
InvokeAction(Extra::ActionType::e_stop, *g_jukeboxScript, targetEntityId, NULL);
InvokeAction(Extra::ActionType::e_stop, *g_jukeboxScript, GetBuildMovieId(m_carId), NULL);
DeleteObjects(&m_atomId, 500, 999);
m_buildState->m_animationState = LegoVehicleBuildState::e_none;