why do both day AND night reset time

This commit is contained in:
GinYuH authored and Cameron Ewell committed 2022-12-22 22:14:11 -05:00
1 parent 474dcf8e7a
commit dc173dc9ef
1 file changed
+1 -1
+1 -1
View File
@@ -232,7 +232,7 @@ namespace CalamityMod.NPCs.Polterghast
bool reset = NPC.ai[2] >= chargePhaseGateValue + 120f;
float speedUpDistance = 480f - 360f * (1f - lifeRatio);
if (((System.DateTime.Now.Hour == 3 || (Main.time >= 27000 && Main.time < 30600)) && Main.getGoodWorld) || threeAM) // change to zenith seed later
if (((System.DateTime.Now.Hour == 3 || (Main.time >= 27000 && Main.time < 30600 && Main.dayTime == false)) && Main.getGoodWorld) || threeAM) // change to zenith seed later
{
threeAM = true;
chargeVelocity *= 2;