[Bugfix] Cosmetics not moved to new submap in EOC copy_location #83866
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Bugfixes "Cosmetics not moved to new submap in EOC copy_location"
Purpose of change
I created a cold storage room in the Flying House with a low-temperature warning sign at the door. After a teleport, I realized the sign's message couldn't be read. I tested further by drawing a graffito, which remained behind after teleportation. I have now fixed this bug.
Describe the solution
In the code of EOC 'copy_location', move signage and graffiti to new submap, since their positions are stored in point_sm_ms, cosmetics do not require location updates.
Describe alternatives you've considered
No other alternative solutions have been identified so far.
Testing
Following the code fix, a teleport test with the Flying House was conducted. Results showed the graffiti was successfully moved and the cold storage warning sign functioned normally. A check of the original location confirmed that the original instances of both the graffito and sign were successfully cleared.
Additional context
Flying House is a Mod I developed, It is just like Vanishing Arc of Aftershock that you can teleport with the ship.