mirror of
https://github.com/Anuken/Mindustry.git
synced 2024-12-22 16:13:59 +07:00
Fixed #10379
This commit is contained in:
parent
9430e8bcde
commit
876003adb8
@ -47,7 +47,7 @@ public class DatabaseDialog extends BaseDialog{
|
||||
});
|
||||
onResize(this::rebuild);
|
||||
|
||||
all.margin(20).marginTop(0f);
|
||||
all.margin(20).marginTop(0f).marginRight(30f);
|
||||
|
||||
cont.top();
|
||||
cont.table(s -> {
|
||||
|
@ -60,7 +60,7 @@ public class SteamVent extends Floor{
|
||||
|
||||
@Override
|
||||
public void renderUpdate(UpdateRenderState state){
|
||||
if(state.tile.block() == Blocks.air && (state.data += Time.delta) >= effectSpacing){
|
||||
if(state.tile.nearby(-1, -1) != null && state.tile.nearby(-1, -1).block() == Blocks.air && (state.data += Time.delta) >= effectSpacing){
|
||||
effect.at(state.tile.x * tilesize - tilesize, state.tile.y * tilesize - tilesize, effectColor);
|
||||
state.data = 0f;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user