]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Fix space-wizards#35663: Prevent clipping of hovered sprites on rotation (#37784)
authorRafael Simões Gaspar da Ponte <rafasponte1000@gmail.com>
Sat, 24 May 2025 17:22:09 +0000 (18:22 +0100)
committerGitHub <noreply@github.com>
Sat, 24 May 2025 17:22:09 +0000 (13:22 -0400)
This fix addresses an issue where hovered tabletop machines (such as the grinder and electrolysis machine)
had their sprites clipped when the camera was rotated. The problem was fixed by setting noRot: true.

Resources/Prototypes/Entities/Structures/Machines/Medical/chemistry_machines.yml

index 65eaf04d78fd9ad41a09bf7eab210f708c67230a..9a237937c51d13e81573758b47aef20073d76db4 100644 (file)
@@ -54,6 +54,7 @@
     - Electrolysis
   - type: Sprite
     sprite: Structures/Machines/Medical/electrolysis.rsi
+    noRot: true
     offset: "0.0,0.4"
     layers:
     - state: base
@@ -93,6 +94,7 @@
     - Centrifuge
   - type: Sprite
     sprite: Structures/Machines/Medical/centrifuge.rsi
+    noRot: true
     offset: "0.0,0.4"
     layers:
     - state: base