Skip to content

Commit

Permalink
Fixes climbing interruptions letting you climb anyway (#5935)
Browse files Browse the repository at this point in the history
  • Loading branch information
Putnam3145 committed Sep 1, 2023
1 parent 51b6784 commit fd359e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/game/objects/objs.dm
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@
. = FALSE
LAZYREMOVE(climbing, climber)
STOP_INTERACTING_WITH(climber, src, INTERACTING_FOR_CLIMB)
if(!allow_climb_on(climber))
if(!. || !allow_climb_on(climber))
climber.action_feedback(SPAN_WARNING("You couldn't climb onto [src]!"), src)
return FALSE
do_climb_on(climber)
Expand Down

0 comments on commit fd359e5

Please sign in to comment.