mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-20 12:35:33 +01:00
Hazardous Area Component | Free Golem Soft-Restriction (#65720)
Co-authored-by: Mothblocks <35135081+Mothblocks@users.noreply.github.com>
This commit is contained in:
@@ -58,6 +58,11 @@
|
||||
/obj/vehicle/ridden/buckle_mob(mob/living/M, force = FALSE, check_loc = TRUE)
|
||||
if(!force && occupant_amount() >= max_occupants)
|
||||
return FALSE
|
||||
|
||||
var/response = SEND_SIGNAL(M, COMSIG_VEHICLE_RIDDEN, src)
|
||||
if(response & EJECT_FROM_VEHICLE)
|
||||
return FALSE
|
||||
|
||||
return ..()
|
||||
|
||||
/obj/vehicle/ridden/zap_act(power, zap_flags)
|
||||
|
||||
Reference in New Issue
Block a user