Skip to content

Commit

Permalink
Fix table climbing runtime (ParadiseSS13#27459)
Browse files Browse the repository at this point in the history
  • Loading branch information
Adrer and [email protected] authored Nov 27, 2024
1 parent bc41214 commit b33be74
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions code/game/objects/structures.dm
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,8 @@
user.visible_message("<span class='warning'>[user] leaps up onto [src]!</span>")
else
user.visible_message("<span class='warning'>[user] climbs onto [src]!</span>")
if(QDELETED(src)) // Table was destroyed while we were climbing it
return
climbers -= user
UnregisterSignal(user, COMSIG_PARENT_QDELETING)

Expand Down

0 comments on commit b33be74

Please sign in to comment.