From ab0d46d61ef33729a1f32334c456f34f958cf2c8 Mon Sep 17 00:00:00 2001 From: MysterD Date: Sun, 29 May 2022 15:34:41 -0700 Subject: [PATCH] Prevent hide-and-seek from warping to castle grounds --- mods/hide-and-seek.lua | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/mods/hide-and-seek.lua b/mods/hide-and-seek.lua index 75d796e5..b1740d1b 100644 --- a/mods/hide-and-seek.lua +++ b/mods/hide-and-seek.lua @@ -227,9 +227,10 @@ function mario_update(m) warp_to_castle(LEVEL_BITS) end - if m.playerIndex == 0 and gPlayerSyncTable[m.playerIndex].seeking and gGlobalSyncTable.displayTimer == 0 and gGlobalSyncTable.roundState == ROUND_STATE_ACTIVE then - warp_to_level(LEVEL_CASTLE_GROUNDS, 1, 0) - end + -- this doesn't work properly, it automatically ends the round again + --if m.playerIndex == 0 and gPlayerSyncTable[m.playerIndex].seeking and gGlobalSyncTable.displayTimer == 0 and gGlobalSyncTable.roundState == ROUND_STATE_ACTIVE then + -- warp_to_level(LEVEL_CASTLE_GROUNDS, 1, 0) + --end -- display all seekers as metal if s.seeking then