CigarLounge / sbox-TTT

TTT is a mafia-esque multiplayer game created using s&box
https://cigarlounge.github.io/
Other
21 stars 11 forks source link

Timer to force map rotation #299

Closed matekdev closed 1 year ago

matekdev commented 1 year ago

Right now, the map only changes once ttt_round_limit number of rounds have been played. However, we should also have another timer that will force map selection if it runs out. As the rounds could last very long if the player count is large. Basically, if either the timer runs out or the number of rounds have been played, go to map selection.

This timer should be on the scoreboard next to the round limit, should have a convar which can be changed, and should take the default value in vanilla.

dch-GH commented 1 year ago

I want this if no one else wants to do it.

matekdev commented 1 year ago

ASSIGNED

dch-GH commented 1 year ago

Should we only check that this timer has passed the limit in InProgress state? Currently I'm doing it in BaseState.