From 0c78de44ae6acaac3f740c606bfbdeca58853aef Mon Sep 17 00:00:00 2001 From: Mario Date: Fri, 24 Jan 2020 08:39:45 +1000 Subject: [PATCH] Fix a missed use of .health --- qcsrc/common/turrets/sv_turrets.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qcsrc/common/turrets/sv_turrets.qc b/qcsrc/common/turrets/sv_turrets.qc index fff1b3991..d8587b14a 100644 --- a/qcsrc/common/turrets/sv_turrets.qc +++ b/qcsrc/common/turrets/sv_turrets.qc @@ -402,7 +402,7 @@ void load_unit_settings(entity ent, bool is_reload) ent.ammo_max *= ent.turret_scale_ammo; ent.ammo_recharge *= ent.turret_scale_ammo; ent.aim_speed *= ent.turret_scale_aim; - ent.health *= ent.turret_scale_health; + SetResourceExplicit(ent, RES_HEALTH, GetResource(ent, RES_HEALTH) * ent.turret_scale_health); ent.respawntime *= ent.turret_scale_respawn; ent.shot_dmg *= ent.turret_scale_damage; ent.shot_refire *= ent.turret_scale_refire; -- 2.39.2