Parcourir la source

Prevent shields from catching fire.

m3ales il y a 3 ans
Parent
commit
66d53b2448
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. 2 0
      addons/RD501_Main/functions/shield/fnc_shield_init.sqf

+ 2 - 0
addons/RD501_Main/functions/shield/fnc_shield_init.sqf

@@ -6,6 +6,8 @@ if!(local _target) exitWith {
 	diag_log format["[RD501][Shield] Unable to create shield on '%1' :: It is not local", _target]; 
 };
 
+_target allowDamage false;
+
 diag_log format["[RD501][Shield] Creating shield for '%1'", _target];
 private _className = typeOf _target;
 private _config = configFile >> "CfgVehicles" >> _className;