biell / alti-server

Altitude game server wrapper
The Unlicense
13 stars 3 forks source link

1de Co-op map timer doesn't reset between rounds #5

Closed lhallam closed 7 years ago

lhallam commented 7 years ago

Just had a pretty good run on a 1de map, ~1min, the timer at the end showed 4mins, I guess it wasn't reset for the new round.

Any easy fix for this?

biell commented 7 years ago

Resolved in 8e1fcc2 with the help of 88c3df9

Timers start on Coop when the first player spawns, not when objectiveGameStart is seen. But, I still needed to reset the first spawn trigger on objectiveGameStart, so the server would know what to do. This methodology allows players to discuss the game plan after spawn is available without that discussion negatively impacting their record. Unless, of course, they are playing with Leeroy Jenkins ;)

Thanks.