mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-25 04:57:12 +01:00
Fix entering pods and stuff while buckled
You already can't drag and drop buckled people onto pods and stuff but they can still enter them by themselves. This commit fixes that
This commit is contained in:
@@ -526,7 +526,7 @@
|
||||
if(panel_open)
|
||||
to_chat(usr, "<span class='boldnotice'>Close the maintenance panel first.</span>")
|
||||
return
|
||||
if(usr.incapacitated()) //are you cuffed, dying, lying, stunned or other
|
||||
if(usr.incapacitated() || usr.buckled) //are you cuffed, dying, lying, stunned or other
|
||||
return
|
||||
if(usr.has_buckled_mobs()) //mob attached to us
|
||||
to_chat(usr, "<span class='warning'>[usr] will not fit into [src] because [usr.p_they()] [usr.p_have()] a slime latched onto [usr.p_their()] head.</span>")
|
||||
|
||||
Reference in New Issue
Block a user