]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
small SpawnItemsOnUse cleanup (#27625)
authorslarticodefast <161409025+slarticodefast@users.noreply.github.com>
Thu, 2 May 2024 17:08:26 +0000 (19:08 +0200)
committerGitHub <noreply@github.com>
Thu, 2 May 2024 17:08:26 +0000 (20:08 +0300)
* small SpawnItemsOnUse cleanup

* that one was not needed

Resources/Prototypes/Entities/Objects/Misc/chopsticks.yml

index 47cae456fa95b5fcd712bb3026aabdaa335fa5d6..ed49053f8ae904fd27a5dc0751f2f7270880de50 100644 (file)
@@ -23,9 +23,8 @@
   - type: SpawnItemsOnUse
     items:
       - id: ChopSticks
+    sound:
+      path: /Audio/Effects/chopstickbreak.ogg
   - type: Sprite
     sprite: Objects/Misc/chopstick.rsi
     state: paired
-  - type: EmitSoundOnUse
-    sound:
-      path: /Audio/Effects/chopstickbreak.ogg