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 for NPE reading old campaigns #4096

Merged
merged 1 commit into from
May 29, 2023
Merged

Conversation

cwisniew
Copy link
Member

@cwisniew cwisniew commented May 29, 2023

Identify the Bug or Feature request

Fixes #4095

Description of the Change

Fixes the NPE on loading old campaigns where there is no quadrant for dodgy drawings/templates.
I have also moved setting of name and playerAlias in Zone.toDto() to the top of the method as it makes debugging these kinds of issues a lot easier.

Possible Drawbacks

These campaigns will now load, but there may be cases where dodgy drawings/templates did not appear on the map pre 1.12 but do now. But this is vastly more preferable than the campaign not being able to load at all

Documentation Notes

  • Fix for problems loading old campaigns that would previously not be able to be loaded.

Release Notes

  • Fix for problems loading old campaigns that would previously not be able to be loaded.

This change is Reviewable

@cwisniew cwisniew merged commit d1f0095 into RPTools:release-1.13 May 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Merged
Development

Successfully merging this pull request may close these issues.

2 participants