corrections

This commit is contained in:
DESKTOP-UH65DCE\MusTanG 2017-09-24 17:00:52 -05:00
parent 480ee26dbb
commit 7efdfd5b4c

View File

@ -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;
};
};