2024-08-06 05:15:59 -04:00
|
|
|
local CPMainMenu_original = MenuBuilder.m_types["CPMainMenu"]
|
2024-08-06 05:52:32 -04:00
|
|
|
function CPMainMenuStub(menu, controller)
|
|
|
|
ret = CPMainMenu_original(menu, controller)
|
2024-08-03 17:39:49 -04:00
|
|
|
|
2024-08-06 05:52:32 -04:00
|
|
|
-- play music immediately
|
|
|
|
Engine.PlayMusic(CoD.Music.MainCPMusic)
|
|
|
|
|
|
|
|
return ret
|
2024-08-03 17:39:49 -04:00
|
|
|
end
|
|
|
|
|
2024-08-06 05:52:32 -04:00
|
|
|
MenuBuilder.m_types["CPMainMenu"] = CPMainMenuStub
|