Back to TPG

TPG.Rounds.CheckWinCondition

S🏷️ Rounds

Part of TPG namespace

TPG.Rounds.CheckWinCondition()
View on GitHub|gamemode/core/sv_rounds.lua:277-299
📋 Has LDoc👁️ 0 viewsUpdated 1 month ago

Description

End the round if either team's ticket pool has run out. Called from the scoring Think after each batch of steps, and does nothing unless a round is active. Both pools can cross zero in the same tick under the deathmatch overtime bleed, so that case is resolved by whoever has the higher remaining count, and an exact tie by coin flip.

Parameters

No parameters.

Returns

No return values documented.

Examples

No examples available.

Used In

No usages found in the codebase.