Skip to content

Commit

Permalink
Update system_shock.dm
Browse files Browse the repository at this point in the history
Signed-off-by: K3L <[email protected]>
  • Loading branch information
K3Licia authored Nov 28, 2024
1 parent 70be7ac commit d37a5fd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion code/datums/quirks/negative_quirks/system_shock.dm
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
quirk_flags = QUIRK_HUMAN_ONLY

/datum/quirk/system_shock/add(client/client_source)
if(var/SPECIES_ANDROID) RegisterSignals(quirk_holder, list(COMSIG_LIVING_ELECTROCUTE_ACT, COMSIG_LIVING_MINOR_SHOCK), PROC_REF(on_electrocute))
if(-SPECIES_ANDROID)

Check failure on line 13 in code/datums/quirks/negative_quirks/system_shock.dm

View workflow job for this annotation

GitHub Actions / Run Linters

OD3100: Empty block detected
RegisterSignals(quirk_holder, list(COMSIG_LIVING_ELECTROCUTE_ACT, COMSIG_LIVING_MINOR_SHOCK), PROC_REF(on_electrocute))

/datum/quirk/system_shock/remove()
UnregisterSignal(quirk_holder, list(COMSIG_LIVING_ELECTROCUTE_ACT, COMSIG_LIVING_MINOR_SHOCK))
Expand Down

0 comments on commit d37a5fd

Please sign in to comment.