Fixed typo.
This commit is contained in:
parent
feb30c83b5
commit
6651e5abcd
1 changed files with 2 additions and 2 deletions
|
@ -972,12 +972,12 @@ var rain = {
|
|||
|
||||
me.flowN.setDoubleValue(ias < me.threshold ? 0 : time * 0.5 + ias * NM2M * dt / 3600);
|
||||
me.rainingN.setDoubleValue(me.rain);
|
||||
if (enableN.getBoolValue())
|
||||
if (me.enableN.getBoolValue())
|
||||
me.enableN.setBoolValue(0);
|
||||
} else {
|
||||
me.flowN.setDoubleValue(0);
|
||||
me.rainingN.setDoubleValue(0);
|
||||
if (enableN.getBoolValue() != 1)
|
||||
if (me.enableN.getBoolValue() != 1)
|
||||
me.enableN.setBoolValue(1);
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue