Back to TPG

TPG.State.ResetRound

S🏷️ State

Part of TPG namespace

TPG.State.ResetRound()
View on GitHub|gamemode/core/sv_gamestate.lua:168-194
📋 Has LDoc👁️ 0 viewsUpdated 1 month ago

Description

Reset per-round state and mark the round live. Refills both ticket pools to TPG.Config.startingTickets, zeroes both teams' spent limits, stamps the start time, clears every player's duplicator cooldown, paste grace and per-round stats, and resets economy wallets if that mode is running this round. Called from tpg.rounds.Setup, after the map cleanup and before objectives spawn.

Parameters

No parameters.

Returns

No return values documented.

Examples

No examples available.

Used In

No usages found in the codebase.