mirror of
https://github.com/EpochModTeam/Epoch.git
synced 2024-08-30 18:22:13 +00:00
Fixed Wet Variable
This commit is contained in:
parent
f3700efba7
commit
6cf522fc16
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user