Fixed #5645
This commit is contained in:
@@ -1628,7 +1628,7 @@ public class Fx{
|
||||
coalSmeltsmoke = new Effect(40f, e -> {
|
||||
randLenVectors(e.id, 0.2f + e.fin(), 4, 6.3f, (x, y, fin, out) -> {
|
||||
color(Color.darkGray, Pal.coalBlack, e.finpowdown());
|
||||
Fill.circle(e.x + x, e.y + y, out * 2f + 0.25f);
|
||||
Fill.circle(e.x + x, e.y + y, out * 2f + 0.35f);
|
||||
});
|
||||
}),
|
||||
|
||||
|
||||
@@ -432,6 +432,11 @@ public class Schematics implements Loadable{
|
||||
if(seq.contains(t -> !t.block().alwaysReplace && !t.synthetic())){
|
||||
return;
|
||||
}
|
||||
for(var t : seq){
|
||||
if(t.block() != Blocks.air){
|
||||
t.remove();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
tile.setBlock(st.block, team, st.rotation);
|
||||
|
||||
@@ -363,7 +363,7 @@ public abstract class SaveVersion extends SaveFileReader{
|
||||
int amount = stream.readInt();
|
||||
for(int j = 0; j < amount; j++){
|
||||
readChunk(stream, true, in -> {
|
||||
byte typeid = in.readByte();
|
||||
int typeid = in.readUnsignedByte();
|
||||
if(mapping[typeid] == null){
|
||||
in.skipBytes(lastRegionLength - 1);
|
||||
return;
|
||||
|
||||
@@ -41,7 +41,9 @@ public class UnitType extends UnlockableContent{
|
||||
|
||||
/** If true, the unit is always at elevation 1. */
|
||||
public boolean flying;
|
||||
/** Creates a new instance of this unit class. */
|
||||
public Prov<? extends Unit> constructor;
|
||||
/** The default AI controller to assign on creation. */
|
||||
public Prov<? extends UnitController> defaultController = () -> !flying ? new GroundAI() : new FlyingAI();
|
||||
|
||||
/** Environmental flags that are *all* required for this unit to function. 0 = any environment */
|
||||
|
||||
@@ -271,7 +271,7 @@ public class JoinDialog extends BaseDialog{
|
||||
|
||||
hosts.clear();
|
||||
|
||||
section("@servers.local", local, false);
|
||||
section(steam ? "@servers.local.steam" : "@servers.local", local, false);
|
||||
section("@servers.remote", remote, false);
|
||||
section("@servers.global", global, true);
|
||||
|
||||
|
||||
@@ -120,7 +120,6 @@ public class MenuFragment extends Fragment{
|
||||
table.add(tools);
|
||||
|
||||
table.add(mods);
|
||||
//if(platform.canDonate()) table.add(donate);
|
||||
if(!ios) table.add(exit);
|
||||
}).colspan(4);
|
||||
}else{
|
||||
@@ -139,7 +138,6 @@ public class MenuFragment extends Fragment{
|
||||
table.defaults().set(container.defaults());
|
||||
|
||||
table.add(mods);
|
||||
//if(platform.canDonate()) table.add(donate);
|
||||
if(!ios) table.add(exit);
|
||||
}).colspan(2);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user