Possible fix to 1-enemy bug
This commit is contained in:
@@ -88,7 +88,7 @@ public class Logic extends Module {
|
||||
for(int i = 0; i < spawnamount; i ++){
|
||||
float range = 12f;
|
||||
|
||||
Timers.run(i*5f, () -> {
|
||||
Timers.runTask(i*5f, () -> {
|
||||
|
||||
Enemy enemy = new Enemy(spawn.type);
|
||||
enemy.set(tile.worldx() + Mathf.range(range), tile.worldy() + Mathf.range(range));
|
||||
|
||||
Reference in New Issue
Block a user