public override void BeginUnload() { for (int i = 0; i < State.MinorStructures.Count; i++) { Structures.AddMinorToUnload(State.MinorStructures [i]); } HasSpawnedMinorStructures = false; mSpawningMinorStructures = false; SpawnedCharacters.Clear(); HasSpawnedCharacters = false; mSpawningCharacters = false; }