Forráskód Böngészése

Prevent shields from catching fire.

m3ales 3 éve
szülő
commit
66d53b2448

+ 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;