Skip to content

Replace tickcount-based perf detection#1282

Merged
rtldg merged 3 commits into
shavitush:masterfrom
mariokeks:perfs
May 9, 2026
Merged

Replace tickcount-based perf detection#1282
rtldg merged 3 commits into
shavitush:masterfrom
mariokeks:perfs

Conversation

@mariokeks

Copy link
Copy Markdown
Contributor

Replaces iLandingTick (an absolute tickcount stored on landing) with
iGroundTicks, a counter that increments each tick spent on
the ground and resets to 0 in the air.

This allows snapshots to be saved/restored cleanly with perf detection,
fixing the existing TODO in BuildSnapshot. Gameplay behaviour is unchanged.

@rtldg rtldg merged commit ff5f534 into shavitush:master May 9, 2026
2 checks passed
@mariokeks mariokeks deleted the perfs branch May 14, 2026 02:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants