فهرست منبع

Fix jammer sending distance multi (weird behaviour)

m3ales 4 سال پیش
والد
کامیت
de8dfdc304
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      addons - Copy/RD501_Main/functions/jammer/fnc_jammersPFH.sqf

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

@@ -41,7 +41,7 @@ private _interference = 1;
 
 // Set interference locally
 _player setVariable ["tf_receivingDistanceMultiplicator", _interference];
-_player setVariable ["tf_sendingDistanceMultiplicator", _interference];
+_player setVariable ["tf_sendingDistanceMultiplicator", 1/_interference];
 
 if([_player] call ACE_common_fnc_getName == "CI Mirror") then {
 	systemChat format["Interference: %1", _interference];