ACTUALLY prevents the clown car from moving onto a space tile
ACTUALLY prevents the clown car from moving onto a space tile
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
initialize_controller_action_type(/datum/action/vehicle/sealed/horn/clowncar, VEHICLE_CONTROL_DRIVE)
|
||||
|
||||
|
||||
/obj/vehicle/sealed/car/clowncar/vehicle_move(direction) //Prevent it from moving onto space
|
||||
/obj/vehicle/sealed/car/clowncar/driver_move(mob/user, direction) //Prevent it from moving onto space
|
||||
if(isspaceturf(get_step(src, direction)))
|
||||
return FALSE
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user