Browse Source

Prevent shields from catching fire.

m3ales 3 years ago
parent
commit
66d53b2448
1 changed files with 2 additions and 0 deletions
  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;