why do both day AND night reset time
This commit is contained in:
1 parent
474dcf8e7a
commit
dc173dc9ef
1 file changed
+1
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user