升级6.4.升级水,升级天气

This commit is contained in:
2026-04-05 00:26:54 +08:00
parent 63bc9b5536
commit 5f7cbfb713
635 changed files with 34718 additions and 22567 deletions

View File

@@ -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;