From bdca8006ca39281f9b7f07d4a30b0cc00320cc8f Mon Sep 17 00:00:00 2001 From: MysterD Date: Wed, 20 Apr 2022 22:10:52 -0700 Subject: [PATCH] Only have interactions happen for the local player --- src/game/interaction.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/interaction.c b/src/game/interaction.c index 1304d0aa..75aad960 100644 --- a/src/game/interaction.c +++ b/src/game/interaction.c @@ -2160,7 +2160,7 @@ void mario_process_interactions(struct MarioState *m) { sDelayInvincTimer = FALSE; sInvulnerable = (m->action & ACT_FLAG_INVULNERABLE) || m->invincTimer != 0; - if (!(m->action & ACT_FLAG_INTANGIBLE) && m->collidedObjInteractTypes != 0 && is_player_active(m)) { + if (!(m->action & ACT_FLAG_INTANGIBLE) && m->collidedObjInteractTypes != 0 && is_player_active(m) && m->playerIndex == 0) { s32 i; for (i = 0; i < 32; i++) { u32 interactType = sInteractionHandlers[i].interactType;