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

When copying a campaign, keep the campaign and zone IDs #3847

Merged
merged 2 commits into from
Feb 27, 2023

Conversation

kwvanderlinde
Copy link
Collaborator

@kwvanderlinde kwvanderlinde commented Feb 27, 2023

Identify the Bug or Feature request

Fixes #3781

Description of the Change

Copying Campaign objects (e.g., by starting a server) will now copy the campaign ID and each zone's ID. The Zone constructor conditionally copies the ID based on the existing keepIds parameter.

Explicit copy actions will still result in new maps being given new IDs.

Possible Drawbacks

Shouldn't be any.

Documentation Notes

N/A

Release Notes

  • Fixed an issue where map and campaign IDs would change whenever a server is started.

This change is Reviewable

Copy link
Contributor

@Phergus Phergus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lgtm:

Reviewed 2 of 2 files at r1, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @kwvanderlinde)

@Phergus Phergus merged commit 9b378ba into RPTools:develop Feb 27, 2023
@kwvanderlinde kwvanderlinde deleted the bugfix/3781-consistent-map-ids branch March 6, 2023 00:09
@cwisniew cwisniew added the bug label Mar 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.

[Feature]: Consistent map IDs
3 participants