Back to TPG

TPG.Rush.StageTicketLoss

S🏷️ Rush

Part of TPG namespace

TPG.Rush.StageTicketLoss()
View on GitHub|gamemode/objectives/sv_rush.lua:111-117
📋 Has LDoc👁️ 0 viewsUpdated 1 month ago

Description

Tickets the losing side drops per stage lost. Derived rather than configured: a clean sweep has to land the loser on precisely zero, or the stage count and the ticket pool disagree about when the round is over and one of them quietly decides first. Dividing the starting pool by the stages actually being played keeps that true at any count, which a constant cannot once MaxStages is choosing the count. TPG.Config.rushStageTicketLoss above zero overrides this, for a server that would rather tune the number and own the invariant itself.

Parameters

No parameters.

Returns

TypeDescription
numberTickets, always positive.

Examples

No examples available.

Used In

No usages found in the codebase.