Cleanup
This commit is contained in:
Binary file not shown.
Binary file not shown.
@@ -63,7 +63,7 @@ public abstract class SaveFileReader{
|
|||||||
protected int lastRegionLength;
|
protected int lastRegionLength;
|
||||||
protected @Nullable CounterInputStream currCounter;
|
protected @Nullable CounterInputStream currCounter;
|
||||||
|
|
||||||
protected void region(String name, DataInput stream, CounterInputStream counter, IORunner<DataInput> cons) throws IOException{
|
public void region(String name, DataInput stream, CounterInputStream counter, IORunner<DataInput> cons) throws IOException{
|
||||||
counter.resetCount();
|
counter.resetCount();
|
||||||
this.currCounter = counter;
|
this.currCounter = counter;
|
||||||
int length;
|
int length;
|
||||||
@@ -78,7 +78,7 @@ public abstract class SaveFileReader{
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
protected void region(String name, DataOutput stream, IORunner<DataOutput> cons) throws IOException{
|
public void region(String name, DataOutput stream, IORunner<DataOutput> cons) throws IOException{
|
||||||
try{
|
try{
|
||||||
writeChunk(stream, cons);
|
writeChunk(stream, cons);
|
||||||
}catch(Throwable e){
|
}catch(Throwable e){
|
||||||
|
|||||||
@@ -143,7 +143,7 @@ public class BaseGenerator{
|
|||||||
if(tiles == null) return;
|
if(tiles == null) return;
|
||||||
|
|
||||||
for(Tile tile : tiles){
|
for(Tile tile : tiles){
|
||||||
if(tile.isCenter() && tile.block() instanceof PowerNode){
|
if(tile.isCenter() && tile.block() instanceof PowerNode && tile.team() == state.rules.waveTeam){
|
||||||
tile.build.placed();
|
tile.build.placed();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -75,7 +75,6 @@ public class ContentInfoDialog extends BaseDialog{
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
if(content.details != null){
|
if(content.details != null){
|
||||||
table.add("[gray]" + content.details).pad(6).padTop(20).width(400f).wrap().fillX();
|
table.add("[gray]" + content.details).pad(6).padTop(20).width(400f).wrap().fillX();
|
||||||
table.row();
|
table.row();
|
||||||
|
|||||||
Reference in New Issue
Block a user