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)
|
2024-10-02 14:12:32 -04:00
|
|
|
ret = CPMainMenu_original(menu, controller)
|
2024-08-03 17:39:49 -04:00
|
|
|
|
2024-10-02 14:12:32 -04:00
|
|
|
-- play music immediately
|
|
|
|
Engine.PlayMusic(CoD.Music.MainCPMusic)
|
2024-08-06 05:52:32 -04:00
|
|
|
|
2024-10-02 14:12:32 -04:00
|
|
|
return ret
|
2024-08-03 17:39:49 -04:00
|
|
|
end
|
|
|
|
|
2024-08-06 05:52:32 -04:00
|
|
|
MenuBuilder.m_types["CPMainMenu"] = CPMainMenuStub
|