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