Merge pull request #885 from EpochModTeam/Ignatz-HeMan-patch-1

Fixed Wet Variable
This commit is contained in:
vbawol 2017-10-02 23:57:18 -05:00 committed by GitHub
commit 6c551459a2

View File

@ -160,7 +160,7 @@ if (_warming) then {
// wet/dry
if (_wet) then {
_playerWet = ((_playerWet + _increaseWet) min _playerWetMax) max _playerWetMin;
_playerWet = [_playerWetKey,_increaseWet,_playerWetMax,_playerWetMin] call EPOCH_fnc_setVariableLimited;
if (_playerWet > 50) then {
_soiledLossRate = 1;
_playerSoiled = [_playerSoiledKey,-_soiledLossRate,_playerSoiledMax,_playerSoiledMin] call EPOCH_fnc_setVariableLimited;