From df7e82ab0ab2e6d9a3f2d6fa1683e34c6217ce04 Mon Sep 17 00:00:00 2001 From: Hatterhat Date: Thu, 13 Aug 2020 13:32:27 -0500 Subject: [PATCH] compile first tho --- code/modules/vehicles/_vehicle.dm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/code/modules/vehicles/_vehicle.dm b/code/modules/vehicles/_vehicle.dm index 133ebc9263..47591bf5b8 100644 --- a/code/modules/vehicles/_vehicle.dm +++ b/code/modules/vehicles/_vehicle.dm @@ -168,8 +168,8 @@ var/dir_to_move = get_dir(trailer.loc, newloc) step(trailer, dir_to_move) -/obj/vehicle/bullet_act(obj/projectile/Proj) //wrapper - if (!enclosed && occupant && !Proj.force_hit && (Proj.def_zone == BODY_ZONE_HEAD || Proj.def_zone == BODY_ZONE_CHEST)) //allows bullets to hit drivers - occupant.bullet_act(Proj) //i'm sure that ATV will protect you against a dink, idiot +/obj/vehicle/bullet_act(obj/item/projectile/Proj) //wrapper + if (!enclosed && occupants && !Proj.force_hit && (Proj.def_zone == BODY_ZONE_HEAD || Proj.def_zone == BODY_ZONE_CHEST)) //allows bullets to hit drivers + occupants.bullet_act(Proj) //i'm sure that ATV will protect you against a dink, idiot return BULLET_ACT_HIT . = ..()