Skip to content

fix(skirmish): Improve determinism for restarted games by resetting slot values#2373

Draft
Caball009 wants to merge 2 commits intoTheSuperHackers:mainfrom
Caball009:fix_reset_slot_values_for_logical_seed
Draft

fix(skirmish): Improve determinism for restarted games by resetting slot values#2373
Caball009 wants to merge 2 commits intoTheSuperHackers:mainfrom
Caball009:fix_reset_slot_values_for_logical_seed

Conversation

@Caball009
Copy link

Restarted skirmish games may not start with the same logical seed value as the first start. This depends on whether there are players with a random color / position / faction. This is resolved the first time by using and updating the logical seed, after which the random values are stored. That means that for restarted games the logical seed isn't used or updated. This PR resets those values to improve determinism for restarted games.

TODO:

  • Replicate in Generals.

@Caball009 Caball009 added Minor Severity: Minor < Major < Critical < Blocker Gen Relates to Generals ZH Relates to Zero Hour Fix Is fixing something, but is not user facing labels Mar 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Fix Is fixing something, but is not user facing Gen Relates to Generals Minor Severity: Minor < Major < Critical < Blocker ZH Relates to Zero Hour

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant