]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Fixes pinpoints so they use the correct sprite. (#23236)
authorBlazeror <154933882+Blazeror@users.noreply.github.com>
Sat, 30 Dec 2023 19:12:12 +0000 (20:12 +0100)
committerGitHub <noreply@github.com>
Sat, 30 Dec 2023 19:12:12 +0000 (14:12 -0500)
Fixed sprites displaying for pinpointers

Resources/Prototypes/Entities/Objects/Devices/pinpointer.yml

index a30f96b96bc261c37526ee16b79fb15f720a0ca8..f5e46bbf54e559578256bcde515324a9e80bc329 100644 (file)
@@ -54,6 +54,9 @@
   id: PinpointerSyndicateNuclear
   parent: PinpointerBase
   components:
+  - type: Sprite
+    layers:
+    - state: pinpointer-syndicate
   - type: Icon
     state: pinpointer-syndicate
   - type: Pinpointer
   id: PinpointerUniversal
   parent: PinpointerBase
   components:
-   - type: Icon
-     state: pinpointer-way
-   - type: Pinpointer
-     updateTargetName: true
-     canRetarget: true
+  - type: Sprite
+    layers:
+    - state: pinpointer-way
+  - type: Icon
+    state: pinpointer-way
+  - type: Pinpointer
+    updateTargetName: true
+    canRetarget: true
 
 - type: entity
   parent: PinpointerBase
   id: PinpointerStation
   suffix: Station
   components:
+  - type: Sprite
+    layers:
+    - state: pinpointer-station
   - type: Icon
     state: pinpointer-station
   - type: Pinpointer
     component: BecomesStation
-    targetName: the station
\ No newline at end of file
+    targetName: the station