Skip to content

Commit

Permalink
pain code minor cleanup (#96)
Browse files Browse the repository at this point in the history
Co-authored-by: FslashN <[email protected]>
  • Loading branch information
private-tristan and FslashN authored Feb 1, 2024
1 parent 37fcb79 commit f35b8fe
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions code/datums/pain/_pain.dm
Original file line number Diff line number Diff line change
Expand Up @@ -228,11 +228,7 @@
activate_severe()

if(new_level < PAIN_LEVEL_SEVERE)
UnregisterSignal(source_mob, list(
COMSIG_MOB_DRAGGED,
COMSIG_MOB_DEVOURED,
COMSIG_MOVABLE_PRE_THROW
))
UnregisterSignal(source_mob, COMSIG_MOB_DEVOURED)

last_level = new_level
addtimer(CALLBACK(src, PROC_REF(before_update)), PAIN_UPDATE_FREQUENCY)
Expand Down

0 comments on commit f35b8fe

Please sign in to comment.