Skip to content

Commit

Permalink
fix: don't show start indicator if player dies in spawn building
Browse files Browse the repository at this point in the history
  • Loading branch information
Alystrasz committed Aug 27, 2023
1 parent 55ead74 commit c601227
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mod/scripts/vscripts/utils/map_configuration.nut
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ void function SetUpStartIndicator( vector origin, int triggerRadius )
})
AddCallback_ScriptTriggerLeave( trigger, void function (entity trigger, entity player) {
string playerName = player.GetPlayerName()
if ( !localStats[playerName].isRunning && !localStats[playerName].isResetting ) {
if ( !localStats[playerName].isRunning && !localStats[playerName].isResetting && IsAlive(player) ) {
Remote_CallFunction_NonReplay( player, "ServerCallback_ToggleStartIndicatorDisplay", true )
}
})
Expand Down

0 comments on commit c601227

Please sign in to comment.