mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Fixed a bug in the humidity calculation
This commit is contained in:
parent
4f44bcdf46
commit
19864d5be6
@ -14,7 +14,7 @@
|
||||
private ["_month", "_avgTemperature", "_pS1", "_pS2"];
|
||||
_month = date select 1;
|
||||
|
||||
GVAR(currentHumidity) = (GVAR(Humidity) select _month) / 100;
|
||||
GVAR(currentHumidity) = (GVAR(Humidity) select (_month - 1)) / 100;
|
||||
|
||||
if (rain > 0 && overcast > 0.7) then {
|
||||
GVAR(currentHumidity) = 1;
|
||||
|
Loading…
Reference in New Issue
Block a user