From ecde3255f388ab07ddfe919bb80cf0a54e4256b8 Mon Sep 17 00:00:00 2001 From: Mario Date: Sun, 18 Jun 2017 09:14:56 +1000 Subject: [PATCH] Reset colors AFTER fully spawning the vehicle, so components aren't skipped --- qcsrc/common/vehicles/sv_vehicles.qc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/qcsrc/common/vehicles/sv_vehicles.qc b/qcsrc/common/vehicles/sv_vehicles.qc index 1848b63b7..fb9e89131 100644 --- a/qcsrc/common/vehicles/sv_vehicles.qc +++ b/qcsrc/common/vehicles/sv_vehicles.qc @@ -1147,11 +1147,12 @@ void vehicles_spawn(entity this) } }); - vehicles_reset_colors(this); Vehicle info = Vehicles_from(this.vehicleid); info.vr_spawn(info, this); + vehicles_reset_colors(this); + CSQCMODEL_AUTOINIT(this); } -- 2.39.2