Sfoglia il codice sorgente

Prevent shields from catching fire.

m3ales 3 anni fa
parent
commit
66d53b2448
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  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;