mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-07-11 00:07:46 +07:00
Run damage before spawn points activate
This commit is contained in:
@ -55,6 +55,12 @@ public class WaveSpawner{
|
|||||||
public void spawnEnemies(){
|
public void spawnEnemies(){
|
||||||
spawning = true;
|
spawning = true;
|
||||||
|
|
||||||
|
eachGroundSpawn((spawnX, spawnY, doShockwave) -> {
|
||||||
|
if(doShockwave){
|
||||||
|
doShockwave(spawnX, spawnY);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
for(SpawnGroup group : state.rules.spawns){
|
for(SpawnGroup group : state.rules.spawns){
|
||||||
if(group.type == null) continue;
|
if(group.type == null) continue;
|
||||||
|
|
||||||
@ -86,12 +92,6 @@ public class WaveSpawner{
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
eachGroundSpawn((spawnX, spawnY, doShockwave) -> {
|
|
||||||
if(doShockwave){
|
|
||||||
doShockwave(spawnX, spawnY);
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
Time.runTask(121f, () -> spawning = false);
|
Time.runTask(121f, () -> spawning = false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
10
fastlane/metadata/android/en-US/changelogs/29769.txt
Normal file
10
fastlane/metadata/android/en-US/changelogs/29769.txt
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
[This is a truncated changelog, see Github for full notes]
|
||||||
|
- Fixed rebuilding a core near vault causing resources to drop to 1K
|
||||||
|
- Fixed captured sectors getting locked
|
||||||
|
|
||||||
|
Campaign multiplayer changes:
|
||||||
|
|
||||||
|
- New host research is now carried over to clients
|
||||||
|
- Clients can now use their research even if the host doesn't have it
|
||||||
|
- Clients can now research new tech in multiplayer
|
||||||
|
- Added a hint that explains this information
|
Reference in New Issue
Block a user