]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Fix borg defib module throwing an exception (#32260)
authorPieter-Jan Briers <pieterjan.briers+git@gmail.com>
Wed, 18 Sep 2024 01:40:24 +0000 (03:40 +0200)
committerGitHub <noreply@github.com>
Wed, 18 Sep 2024 01:40:24 +0000 (11:40 +1000)
ToggleCellDraw was erroneously added to the parent prototype instead of the one that actually has a battery.

Resources/Prototypes/Entities/Objects/Specific/Medical/defib.yml

index 7b5ba23fe33103465cadb36ff6dd2e609d2e1a4b..69c106efab133d96f24bad0c6eaaa0af223a0716 100644 (file)
     - type: GuideHelp
       guides:
       - Medical Doctor
-    - type: ToggleCellDraw
 
 - type: entity
   id: Defibrillator
   parent: [ BaseDefibrillator, PowerCellSlotMediumItem ]
   components:
   - type: MultiHandedItem
+  - type: ToggleCellDraw
   - type: PowerCellDraw
     useRate: 100