Fixed #2501
This commit is contained in:
@@ -209,7 +209,6 @@ public class Blocks implements ContentList{
|
|||||||
liquidDrop = Liquids.slag;
|
liquidDrop = Liquids.slag;
|
||||||
isLiquid = true;
|
isLiquid = true;
|
||||||
cacheLayer = CacheLayer.slag;
|
cacheLayer = CacheLayer.slag;
|
||||||
attributes.set(Attribute.heat, 0.85f);
|
|
||||||
}};
|
}};
|
||||||
|
|
||||||
stone = new Floor("stone"){{
|
stone = new Floor("stone"){{
|
||||||
@@ -1132,7 +1131,6 @@ public class Blocks implements ContentList{
|
|||||||
powerProduction = 1.8f;
|
powerProduction = 1.8f;
|
||||||
generateEffect = Fx.redgeneratespark;
|
generateEffect = Fx.redgeneratespark;
|
||||||
size = 2;
|
size = 2;
|
||||||
floating = true;
|
|
||||||
}};
|
}};
|
||||||
|
|
||||||
turbineGenerator = new BurnerGenerator("turbine-generator"){{
|
turbineGenerator = new BurnerGenerator("turbine-generator"){{
|
||||||
|
|||||||
@@ -29,8 +29,16 @@ abstract class BulletComp implements Timedc, Damagec, Hitboxc, Teamc, Posc, Draw
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void getCollisions(Cons<QuadTree> consumer){
|
public void getCollisions(Cons<QuadTree> consumer){
|
||||||
for(Team team : team.enemies()){
|
if(team.active()){
|
||||||
consumer.get(teamIndex.tree(team));
|
for(Team team : team.enemies()){
|
||||||
|
consumer.get(teamIndex.tree(team));
|
||||||
|
}
|
||||||
|
}else{
|
||||||
|
for(Team other : Team.all){
|
||||||
|
if(other != team && teamIndex.count(other) > 0){
|
||||||
|
consumer.get(teamIndex.tree(other));
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user