public void Reset(SpawnEntry entry) { var type = entry.SpawnType; do { entry.SpawnType = (VoidType)Utility.RandomMinMax(0, 4); }while (entry.SpawnType == type); entry.DoSpawn(); }
public void Reset(SpawnEntry entry) { if (!Active) { return; } VoidType type = entry.SpawnType; do { entry.SpawnType = (VoidType)Utility.RandomMinMax(0, 4); }while (entry.SpawnType == type); entry.DoSpawn(); }