mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 20:16:55 +01:00
Only small and tiny simplemobs can go on skateboards, shoot people off them [BALANCE PRE APPROVED] (#26091)
* Only small and tiny simplemobs can go on skateboards, shoot people off them * Update code/datums/components/riding/riding_vehicle.dm Co-authored-by: Ryan <80364400+Sirryan2002@users.noreply.github.com> Signed-off-by: Qwertytoforty <52090703+Qwertytoforty@users.noreply.github.com> --------- Signed-off-by: Qwertytoforty <52090703+Qwertytoforty@users.noreply.github.com> Co-authored-by: Ryan <80364400+Sirryan2002@users.noreply.github.com>
This commit is contained in:
@@ -52,7 +52,8 @@
|
||||
// 1. This movable doesn't have a ridable element and can't be ridden, so nothing gets returned, so continue on
|
||||
// 2. There's a ridable element but we failed to mount it for whatever reason (maybe it has no seats left, for example), so we cancel the buckling
|
||||
// 3. There's a ridable element and we were successfully able to mount, so keep it going and continue on with buckling
|
||||
if(SEND_SIGNAL(src, COMSIG_MOVABLE_PREBUCKLE, M, force) & COMPONENT_BLOCK_BUCKLE)
|
||||
var/signal_result = SEND_SIGNAL(src, COMSIG_MOVABLE_PREBUCKLE, M, force)
|
||||
if(signal_result & COMPONENT_BLOCK_BUCKLE)
|
||||
return FALSE
|
||||
|
||||
M.buckling = src
|
||||
|
||||
Reference in New Issue
Block a user