Code for preventing it on moving onto a space tile

For some reason this doesn't work so I've commented it out until I can figure out how to get it to work.
This commit is contained in:
keronshb
2020-12-15 12:14:49 -05:00
parent b42368d371
commit 830ae2b1c3
+8
View File
@@ -18,6 +18,14 @@
. = ..()
initialize_controller_action_type(/datum/action/vehicle/sealed/horn/clowncar, VEHICLE_CONTROL_DRIVE)
/*
/obj/vehicle/clowncar/vehicle_move(direction) //Prevent it from moving onto space
if(isspaceturf(get_step(src, direction)))
return FALSE
else
return ..()
*/
/obj/vehicle/sealed/car/clowncar/auto_assign_occupant_flags(mob/M)
if(ishuman(M))
var/mob/living/carbon/human/H = M