From c29483eef61e0e7005fbc058002676fc32c9950f Mon Sep 17 00:00:00 2001 From: X0-11 Date: Sun, 21 Jul 2024 08:35:51 +0100 Subject: [PATCH] new places to start processing for vehicles --- code/modules/halo/vehicles/vehicle_occupant.dm | 2 ++ code/modules/halo/vehicles/vehiclebase.dm | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/code/modules/halo/vehicles/vehicle_occupant.dm b/code/modules/halo/vehicles/vehicle_occupant.dm index a2e34d520751b..022da74304e31 100644 --- a/code/modules/halo/vehicles/vehicle_occupant.dm +++ b/code/modules/halo/vehicles/vehicle_occupant.dm @@ -95,6 +95,8 @@ return null /obj/vehicles/proc/enter_as_position(var/mob/user,var/position = "passenger",var/forced_by_faction = null) + if(!is_processing) + START_PROCESSING(SSobj,src) var/driver_faction = get_driver_faction() var/faction_use = user.faction if(forced_by_faction && forced_by_faction != "neutral") diff --git a/code/modules/halo/vehicles/vehiclebase.dm b/code/modules/halo/vehicles/vehiclebase.dm index 63ad976177fed..8eb4539f5bb58 100644 --- a/code/modules/halo/vehicles/vehiclebase.dm +++ b/code/modules/halo/vehicles/vehiclebase.dm @@ -141,7 +141,6 @@ comp_prof = new comp_prof(src) if(melee_type) melee_weapon = new melee_type(null) - START_PROCESSING(SSobj, src) update_object_sprites() if(light_range != 0) verbs += /obj/vehicles/verb/toggle_headlights @@ -162,6 +161,7 @@ internal_air.temperature = T20C GLOB.emp_candidates.Add(src) + START_PROCESSING(SSobj, src) /obj/vehicles/lost_in_space() if(!can_space_move)