Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix crash upon saving after removing regions (reverted; Fix XML docs) #124

Merged
merged 5 commits into from
Dec 13, 2021

Conversation

SlimeCubed
Copy link
Contributor

@SlimeCubed SlimeCubed commented Nov 11, 2021

Previously, CRS had XML doc comments, but the setting to make the actual .xml file was unchecked. This should fix that, modifying some comments to comply with the XML format and enabling the file's generation. There were many instances of public members without docstrings, so I've gone ahead and suppressed CS1591 in the project's properties. If you want to thoroughly document it later you should undo that change.

I've also set "copy local" to false for all dependencies, so the output folder should now contain only the mod's .dll, .xml, and .pdb files.

The game used to crash if you removed any region after visiting them because of leftover map files. This also fixes that. When saving, all maps for regions that no longer exist are purged from the save file instead of freezing without writing anything to disk. Saves may still be corrupted since den indices will be changed, but the slot itself will not be lost.

@SlimeCubed SlimeCubed changed the title Fix XML docs Fix XML docs, fix crash upon saving after removing regions Nov 11, 2021
@Garrakx Garrakx changed the title Fix XML docs, fix crash upon saving after removing regions ~~Fix XML docs~~, fix crash upon saving after removing regions Dec 8, 2021
@Garrakx Garrakx changed the title ~~Fix XML docs~~, fix crash upon saving after removing regions fix crash upon saving after removing regions (reverted; Fix XML docs) Dec 8, 2021
@Garrakx Garrakx changed the base branch from master to wip-43 December 13, 2021 11:49
@Garrakx Garrakx merged commit 539d122 into Garrakx:wip-43 Dec 13, 2021
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.

None yet

2 participants