Skip to content

Conversation

Starkku
Copy link
Contributor

@Starkku Starkku commented Jun 12, 2023

The previous 'fix' was half-baked and didn't actually address a big issue where it wouldn't actually skip some of the statistics-related code correctly if the condition to write the file wasn't satisfied. While in skirmish or multiplayer this appears to generate no ill effects, it seems to cause singleplayer missions to crash upon completion. This should fix that.

There was also one hook that didn't have anything to do with statistics so I removed it.

- Restored vanilla check to not break XWIS when spawner is disabled
- Added enum to improve readability
- Fixed the sizes of hooks
@Belonit Belonit merged commit 57fbfdc into CnCNet:main Jun 17, 2023
@Starkku Starkku deleted the fix/statistics branch June 25, 2023 13:03
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