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:
@ -14,7 +14,7 @@
|
|||||||
private ["_month", "_avgTemperature", "_pS1", "_pS2"];
|
private ["_month", "_avgTemperature", "_pS1", "_pS2"];
|
||||||
_month = date select 1;
|
_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 {
|
if (rain > 0 && overcast > 0.7) then {
|
||||||
GVAR(currentHumidity) = 1;
|
GVAR(currentHumidity) = 1;
|
||||||
|
Reference in New Issue
Block a user