[StrangePan][2.0.21] Replacing ghost with different quality changes orientation (mirroring)
Posted: Fri Nov 22, 2024 8:08 am
If you have a quality building as your cursor, and you click on a mirrored ghost building (to replace it with your selected quality), the building changes orientation.
Steps to reproduce:
1. Create a set of mirrored and unmirrored building ghosts, like in the picture (EM plant, chemplant, and refinery all reproduce the bug).
2. Put a quality version of the building on your cursor.
3. Either click and drag the cursor across the ghosts, or click on each ghost (to replace the ghost with a quality version of the ghost)
Behavior:
The mirroring is undone, all buildings have the same orientation after replacing them with quality.
Note:
If you replace quality of real buildings (not ghosts) in the same way, it will behave correctly and keep the correct orientation.
Expected:
The building keeps its orientation, the only thing that happens is the quality changes.
Steps to reproduce:
1. Create a set of mirrored and unmirrored building ghosts, like in the picture (EM plant, chemplant, and refinery all reproduce the bug).
2. Put a quality version of the building on your cursor.
3. Either click and drag the cursor across the ghosts, or click on each ghost (to replace the ghost with a quality version of the ghost)
Behavior:
The mirroring is undone, all buildings have the same orientation after replacing them with quality.
Note:
If you replace quality of real buildings (not ghosts) in the same way, it will behave correctly and keep the correct orientation.
Expected:
The building keeps its orientation, the only thing that happens is the quality changes.