]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
all toggle light actions have a 1 second use delay (#29833)
authorWhisper <121047731+QuietlyWhisper@users.noreply.github.com>
Tue, 9 Jul 2024 04:14:51 +0000 (00:14 -0400)
committerGitHub <noreply@github.com>
Tue, 9 Jul 2024 04:14:51 +0000 (14:14 +1000)
Resources/Prototypes/Actions/types.yml

index 4b3d75bf920e9b9e08e1b480d4cd56ec5ef4c9d0..07d1a622adaf9183334d5cd31b1e6361aaaacb3a 100644 (file)
@@ -37,6 +37,7 @@
   description: Turn the light on and off.
   components:
   - type: InstantAction
+    useDelay: 1
     icon: { sprite: Objects/Tools/flashlight.rsi, state: flashlight }
     iconOn: { sprite: Objects/Tools/flashlight.rsi, state: flashlight-on }
     event: !type:ToggleActionEvent