]> git.smokeofanarchy.ru Git - space-station-14.git/commit
PA control box part detection fix (#24356)
authorMenshin <Menshin@users.noreply.github.com>
Sun, 21 Jan 2024 09:17:17 +0000 (10:17 +0100)
committerGitHub <noreply@github.com>
Sun, 21 Jan 2024 09:17:17 +0000 (20:17 +1100)
commiteb0a54fef295d4b05f864a0f4af404e8870d505f
tree92ba38d5d240cc75e142f2b667040380573188ee
parent8c5898b0065cd2cf196c0383bc99c57c0f11795b
PA control box part detection fix (#24356)

* * 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>
Content.Server/ParticleAccelerator/EntitySystems/ParticleAcceleratorSystem.Parts.cs
Content.Server/ParticleAccelerator/EntitySystems/ParticleAcceleratorSystem.cs
Resources/Textures/Structures/Power/Generation/PA/control_box.rsi/completed.png
Resources/Textures/Structures/Power/Generation/PA/control_box.rsi/wired.png