First respawning/level up
This commit is contained in:
@@ -36,7 +36,12 @@ namespace EvilSatellites
|
||||
|
||||
public void Update()
|
||||
{
|
||||
|
||||
var sats = Screen.Objects.Where((x) => x.Type == ObjectType.Satellite).ToList();
|
||||
if (sats.Count < 1)
|
||||
{
|
||||
Level++;
|
||||
Spawn();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user