mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-11-22 03:55:11 +00:00
Hide-and-seek: only update last seeker index when the round is active
This commit is contained in:
parent
c543c9eaa2
commit
1de1086fd3
1 changed files with 3 additions and 1 deletions
|
@ -457,7 +457,9 @@ function on_seeking_changed(tag, oldVal, newVal)
|
|||
play_sound(SOUND_OBJ_BOWSER_LAUGH, m.marioObj.header.gfx.cameraToObject)
|
||||
playerColor = network_get_player_text_color_string(m.playerIndex)
|
||||
djui_popup_create(playerColor .. np.name .. '\\#ffa0a0\\ is now a seeker', 2)
|
||||
sLastSeekerIndex = m.playerIndex
|
||||
if gGlobalSyncTable.roundState == ROUND_STATE_ACTIVE then
|
||||
sLastSeekerIndex = m.playerIndex
|
||||
end
|
||||
sRoundTimer = 0
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue