public void StartInvasion() { ThisRegion = new InvasionRegion(this); if (spawntype == InvasionSpawnType.None) { RandomSpawn(); } if (Players == null) { Players = new ArrayList(); } if (Spawn == null) { Spawn = new ArrayList(); } WaveTimer = new InvasionWaveTimer(this); inprogress = true; DoSpawn(InvasionConfig.WaveAmount); }
public void StartInvasion() { ThisRegion = new InvasionRegion(this); if (spawntype == InvasionSpawnType.None) RandomSpawn(); if (Players == null) Players = new ArrayList(); if (Spawn == null) Spawn = new ArrayList(); WaveTimer = new InvasionWaveTimer(this); inprogress = true; DoSpawn(InvasionConfig.WaveAmount); }