mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-02-23 04:59:19 +07:00
Clear team blocks on derelict
This commit is contained in:
parent
a511e50a7b
commit
9c62d49eb4
@ -270,6 +270,9 @@ public class Teams{
|
||||
buildings.getObjects(builds);
|
||||
}
|
||||
|
||||
//no remaining blocks, cease building if applicable
|
||||
blocks.clear();
|
||||
|
||||
//convert all team tiles to neutral, randomly killing them
|
||||
for(var b : builds){
|
||||
//TODO this may cause a lot of packet spam, optimize?
|
||||
|
Loading…
Reference in New Issue
Block a user