mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-07-13 17:27:35 +07:00
Fixed #2793
This commit is contained in:
@ -1526,7 +1526,7 @@ public class Blocks implements ContentList{
|
|||||||
force = 4.5f;
|
force = 4.5f;
|
||||||
scaledForce = 5.5f;
|
scaledForce = 5.5f;
|
||||||
range = 110f;
|
range = 110f;
|
||||||
damage = 0.1f;
|
damage = 0.4f;
|
||||||
health = 160 * size * size;
|
health = 160 * size * size;
|
||||||
rotateSpeed = 10;
|
rotateSpeed = 10;
|
||||||
|
|
||||||
|
@ -7,6 +7,7 @@ import arc.scene.actions.*;
|
|||||||
import arc.scene.ui.layout.*;
|
import arc.scene.ui.layout.*;
|
||||||
import arc.util.*;
|
import arc.util.*;
|
||||||
import mindustry.content.*;
|
import mindustry.content.*;
|
||||||
|
import mindustry.game.EventType.*;
|
||||||
import mindustry.gen.*;
|
import mindustry.gen.*;
|
||||||
|
|
||||||
import static mindustry.Vars.*;
|
import static mindustry.Vars.*;
|
||||||
@ -32,6 +33,11 @@ public class BlockConfigFragment extends Fragment{
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Events.on(ResetEvent.class, e -> {
|
||||||
|
table.visible = false;
|
||||||
|
configTile = null;
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean isShown(){
|
public boolean isShown(){
|
||||||
|
Reference in New Issue
Block a user