put everyone in the jumbo star cutscene if one person is in it

This commit is contained in:
Isaac0-dev 2023-03-01 23:23:20 +10:00
parent 6e58ad6179
commit 0500379081

View file

@ -402,6 +402,10 @@ void network_receive_player(struct Packet* p) {
LOG_INFO("%s entered the debug free fly state", np->name);
}
#endif
if (np->currLevelNum == LEVEL_BOWSER_3 && m->action == ACT_JUMBO_STAR_CUTSCENE && gMarioStates[0].action != ACT_JUMBO_STAR_CUTSCENE) {
set_mario_action((struct MarioState*) &gMarioStates[0], ACT_JUMBO_STAR_CUTSCENE, 0);
}
}
void network_update_player(void) {