瀏覽代碼

Prevent shields from catching fire.

m3ales 3 年之前
父節點
當前提交
66d53b2448
共有 1 個文件被更改,包括 2 次插入0 次删除
  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;