redsunservers / SuperZombieFortress

Custom Team Fortress 2 Gamemode, inspired from Left 4 Dead
GNU General Public License v3.0
36 stars 27 forks source link

Fix grace period happening during Waiting for Players #48

Closed woisalreadytaken closed 5 years ago

woisalreadytaken commented 5 years ago

The plugin restyling (#47) changed a lot of things, but an issue it brought is that with a change to the Round State enum struct, it skips over a step and sees the waiting for players period as an actual round, and this breaks a couple of things:

This PR simply re-adds the waiting for players step as a round state.

haxtonsale commented 5 years ago

Use TF2_OnWaitingForPlayersStart and TF2_OnWaitingForPlayersEnd?

woisalreadytaken commented 5 years ago

ok did that, the events don't look like they work anyway