浏览代码

Comment out useless var sets (unused by tfar 0.9.7)

m3ales 4 年之前
父节点
当前提交
6eeb16702f
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      addons - Copy/RD501_Main/functions/jammer/fnc_jammersPFH.sqf

+ 2 - 2
addons - Copy/RD501_Main/functions/jammer/fnc_jammersPFH.sqf

@@ -16,7 +16,7 @@ if(count _jammers == 0) exitWith {
 	[_handle] call CBA_fnc_removePerFrameHandler;
 	_player setVariable ["rd501_jammers_pfh", -1];
 	_player setVariable ["tf_receivingDistanceMultiplicator", 1];
-	_player setVariable ["tf_transmittingDistanceMultiplicator", 1];
+	//_player setVariable ["tf_transmittingDistanceMultiplicator", 1]; // Unused by TFAR 0.9.7
 };
 
 // Aggregate the mean interference (multiple jammers allowed)
@@ -44,5 +44,5 @@ private _interference = 1;
 
 // Set interference locally
 _player setVariable ["tf_receivingDistanceMultiplicator", _interference];
-_player setVariable ["tf_transmittingDistanceMultiplicator", _interference];
+// _player setVariable ["tf_transmittingDistanceMultiplicator", _interference]; // Unused by TFAR 0.9.7
 systemChat format["Interference: %1", _interference];