mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-19 12:05:59 +01:00
[MIRROR] You can no longer climb ladders from anchored buckleables [MDB IGNORE] (#18880)
You can no longer climb ladders from anchored buckleables (#72808) This PR prevents you from climbing ladders while buckled to something that is anchored. You can still climb while buckled to non-anchored things like wheelchairs or people. Co-authored-by: Ryll Ryll <3589655+Ryll-Ryll@users.noreply.github.com>
This commit is contained in:
@@ -94,6 +94,9 @@
|
||||
if(going_up ? !up : !down)
|
||||
balloon_alert(user, "can't go any further [going_up ? "up" : "down"]")
|
||||
return
|
||||
if(user.buckled && user.buckled.anchored)
|
||||
balloon_alert(user, "buckled to something anchored!")
|
||||
return
|
||||
if(travel_time)
|
||||
INVOKE_ASYNC(src, PROC_REF(start_travelling), user, going_up)
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user