Skip to content

Commit

Permalink
Revert this function I changed for debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
Archangel authored and devbence committed Apr 24, 2024
1 parent efefd38 commit db32ff1
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions Source/Coop/SITGameModes/CoopSITGame.cs
Original file line number Diff line number Diff line change
Expand Up @@ -454,14 +454,11 @@ public static BotDifficulty SelectRandomBotDifficulty()
return (BotDifficulty)values.GetValue(UnityEngine.Random.Range(0, values.Length));
}

private static int[] CultistSpawnTime = new[] { 22, 6 };
private static int[] CultistSpawnTime = new[] { 6, 22 };

private static bool CanSpawnCultist(int hour)
{
if (hour >= CultistSpawnTime[0] && hour <= CultistSpawnTime[1])
return true;

return false;
return hour <= CultistSpawnTime[0] || hour >= CultistSpawnTime[1];
}

public BossLocationSpawn[] FixBossWaveSettings(WavesSettings wavesSettings, LocationSettingsClass.Location location)
Expand Down

0 comments on commit db32ff1

Please sign in to comment.