Fix crash when CG was loaded in main menu related to Yoshi (#1206)
Some checks failed
Build coop / build-linux (push) Has been cancelled
Build coop / build-steamos (push) Has been cancelled
Build coop / build-windows-opengl (push) Has been cancelled
Build coop / build-windows-directx (push) Has been cancelled
Build coop / build-macos-arm (push) Has been cancelled
Build coop / build-macos-intel (push) Has been cancelled

* Fix crash when CG was loaded in main menu

* Remove now unecessary check

* This *should* undo this

* Let's try that again!

* Remove leftover code
This commit is contained in:
EmeraldLockdown 2026-04-24 11:05:57 -05:00 committed by GitHub
parent f10e3062d8
commit 8edcc86049
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -270,6 +270,12 @@ void yoshi_reappear(void) {
}
void bhv_yoshi_loop(void) {
// sanity check main menu
if (gDjuiInMainMenu) {
yoshi_idle_loop();
return;
}
switch (o->oAction) {
case YOSHI_ACT_IDLE:
yoshi_idle_loop();