Skip to content

Fix incorrect generation of .nfg files from some strategic games.#890

Merged
tturocy merged 1 commit into
masterfrom
issue_875
May 27, 2026
Merged

Fix incorrect generation of .nfg files from some strategic games.#890
tturocy merged 1 commit into
masterfrom
issue_875

Conversation

@tturocy

@tturocy tturocy commented May 27, 2026

Copy link
Copy Markdown
Member

WriteNfgFile on games with a table representation prefers to use the outcome version of the .nfg file format. The implementation of this was not taking into account
that if strategies are deleted in the game, we do not immediately reallocate the table of outcomes, and so the whole table was being exported (not just the portion relevant to the remaining strategies).

Fixes #875.

`WriteNfgFile` on games with a table representation prefers to use the
outcome version of the .nfg file format.  The implementation of
this was not taking into account
that if strategies are deleted in the game, we do not
immediately reallocate the table of outcomes, and so
the whole table was being exported (not just the portion relevant to the
remaining strategies).

Fixes #875.
@tturocy tturocy linked an issue May 27, 2026 that may be closed by this pull request
@tturocy
tturocy merged commit 3137514 into master May 27, 2026
23 checks passed
@tturocy
tturocy deleted the issue_875 branch May 27, 2026 11:31
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.

[BUG]: Serialisation of strategic games which have been resized

1 participant