升级6.4.升级水,升级天气
This commit is contained in:
@@ -376,7 +376,7 @@ namespace Enviro
|
||||
{
|
||||
double dateInHours = 0.0f;
|
||||
if(Settings.calenderType == EnviroTime.CalenderType.Custom)
|
||||
dateInHours = Settings.timeOfDay + (days * 24f) + ((years * (Settings.monthsInYear * Settings.daysInMonth)) * 24f);
|
||||
dateInHours = Settings.timeOfDay + (days * 24f) + ((months * Settings.daysInMonth) * 24f) + ((years * (Settings.monthsInYear * Settings.daysInMonth)) * 24f);
|
||||
else
|
||||
dateInHours = Settings.timeOfDay + (days * 24f) + ((years * 365) * 24f);
|
||||
return dateInHours;
|
||||
|
||||
Reference in New Issue
Block a user