ZeroK-RTS / Zero-K-Infrastructure

Website, lobby launcher and server, steam deployment, .NET based tools and other vital parts of Zero-K infrastructure
GNU General Public License v3.0
49 stars 51 forks source link

Use [ReloadOrRestart] to detect game reloads, instead of frame number. #2982

Closed Mankarse closed 2 months ago

Mankarse commented 2 months ago

Game reloads were previously detected by [f=-000001] that followed either the start of the file, or [f={non-negative value}]

This gave incorrect results for games that were exited during the pre-game stage, as they never got non-negative frame numbers.

This improves on #2979