Skip to content

Commit

Permalink
Update carbon.dm
Browse files Browse the repository at this point in the history
  • Loading branch information
zzzmike authored Aug 18, 2024
1 parent 4ebfc76 commit 4546a7e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions code/modules/mob/living/carbon/carbon.dm
Original file line number Diff line number Diff line change
Expand Up @@ -515,6 +515,8 @@
if(do_after(src, 1200, INTERRUPT_NO_FLOORED^INTERRUPT_RESIST, BUSY_ICON_HOSTILE))
if(!buckled)
return
if(user.stat == DEAD)

Check failure on line 518 in code/modules/mob/living/carbon/carbon.dm

View workflow job for this annotation

GitHub Actions / Run Linters

undefined var: "user"

Check warning on line 518 in code/modules/mob/living/carbon/carbon.dm

View workflow job for this annotation

GitHub Actions / Run Linters

field access requires static type: "stat"
return
visible_message(SPAN_DANGER("<B>[src] manages to unbuckle themself!</B>"),\
SPAN_NOTICE("You successfully unbuckle yourself."))
buckled.manual_unbuckle(src)
Expand Down

0 comments on commit 4546a7e

Please sign in to comment.