Makes people on skateboards unable to pull things (#26191)

* Makes people on skateboards unable to pull things

* Removes duplicate definition

* Contra review
This commit is contained in:
DGamerL
2024-08-04 11:07:03 +02:00
committed by GitHub
parent 7e09585464
commit 2f591a301c
4 changed files with 6 additions and 7 deletions
+1
View File
@@ -1002,6 +1002,7 @@
return
if(SEND_SIGNAL(src, COMSIG_LIVING_TRY_PULL, AM, force) & COMSIG_LIVING_CANCEL_PULL)
return FALSE
// If we're pulling something then drop what we're currently pulling and pull this instead.
AM.add_fingerprint(src)
if(pulling)
@@ -227,7 +227,6 @@
/obj/tgvehicle/buckle_mob(mob/living/M, force = FALSE, check_loc = TRUE)
if(!force && occupant_amount() >= max_occupants)
return FALSE
return ..()
/obj/tgvehicle/zap_act(power, zap_flags)