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

Add MapTimer #300

Closed dch-GH closed 1 year ago

dch-GH commented 1 year ago

Closes:https://github.com/CigarLounge/sbox-TTT/issues/299

Right now the map timer will tick down no matter what and is only checked against during the InProgress state. This means a case like so will happen: server is empty, map never changes but the timer is out, 2 players join and the map will change after the first round they play. Open to feedback. I still haven't checked how vanilla handles it.

matekdev commented 1 year ago
  1. If the timer runs out and its in waiting mode, swap over to map selection to prevent servers from going stale
  2. If the timer runs out, we can use ttt_round_limit or the timer to swap into a map selection once in progress is over