From 7efdfd5b4cadb9f1618d41f1fb9eaa956903b773 Mon Sep 17 00:00:00 2001 From: "DESKTOP-UH65DCE\\MusTanG" Date: Sun, 24 Sep 2017 17:00:52 -0500 Subject: [PATCH] corrections --- .../compile/epoch_trading/EPOCH_server_makeNPCTrade.sqf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/epoch_server/compile/epoch_trading/EPOCH_server_makeNPCTrade.sqf b/Sources/epoch_server/compile/epoch_trading/EPOCH_server_makeNPCTrade.sqf index e397b7f3..7edb7f10 100644 --- a/Sources/epoch_server/compile/epoch_trading/EPOCH_server_makeNPCTrade.sqf +++ b/Sources/epoch_server/compile/epoch_trading/EPOCH_server_makeNPCTrade.sqf @@ -123,7 +123,7 @@ if (_slot != -1) then { _playerCStats = _player getVariable["COMMUNITY_STATS", EPOCH_defaultStatVars]; _playerKarma = _playerCStats select _kIndex; _playerKarmaAdj = 1; - if(_playerKarma > 0)then{_playerKarmaAdj = -1}; + if(_playerKarma < 0)then{_playerKarmaAdj = -1}; [_player, "Karma", _playerKarmaAdj, true] call EPOCH_server_updatePlayerStats; }; }; @@ -306,7 +306,7 @@ if (_slot != -1) then { _playerCStats = _player getVariable["COMMUNITY_STATS", EPOCH_defaultStatVars]; _playerKarma = _playerCStats select _kIndex; _playerKarmaAdj = 1; - if(_playerKarma > 0)then{_playerKarmaAdj = -1}; + if(_playerKarma < 0)then{_playerKarmaAdj = -1}; [_player, "Karma", _playerKarmaAdj, true] call EPOCH_server_updatePlayerStats; }; };