* * Fixed rounding errors when the PA control box was checking for parts, sometimes leading to the obscure "port/starboard emitters are not detected".
* Auto-rotated the PA control box toward the fuel box when checking for parts
* Swapped the wired/completed state sprites for the PA control box as it appears they were inverted
* Update Content.Server/ParticleAccelerator/EntitySystems/ParticleAcceleratorSystem.Parts.cs
---------
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
If the PA Control Box isn't rotated to match the Fuel Chamber, it actually rotates itself to match.
This rotation triggered a rotation event, which in turn caused RescanParts() to run again, re-entrantly. This broke everything.
Fixed by adding a boolean to just guard against this.
* PA Fixes
Fix exception when opening UI if it has the power limiter warning displayed.
Fix it sometimes not detecting parts due to angles not getting normalized before comparison.
* Fix swapped out sprites for PA emitter P0 states