space-wizards / space-station-14

A multiplayer game about paranoia and chaos on a space station. Remake of the cult-classic Space Station 13.
https://spacestation14.io
MIT License
2.12k stars 2.8k forks source link

Pinpointers in a backpack can point the wrong way #22490

Open Errant-4 opened 6 months ago

Errant-4 commented 6 months ago

Description

Pinpointer sprite needs to remain upright when it's in-inventory-box is rotated, because the pointer arrow is aligned to the sprite, not the screen

Reproduction Put pinpointer in a backpack and rotate it

Screenshots image

Additional context

Errant-4 commented 4 months ago

Any item with noRot: true set on their SpriteComponent will display their inventory sprite rotated 180 degrees, when the tetris block is rotated 90 or 270 degrees.

image

I'm not sure if there is any actual reason for this behavior in the first place, but I haven't found the relevant code that does it yet