mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-01-28 07:22:21 -08:00
Fixed mobile consume frag / Added ability for ship to mine
This commit is contained in:
parent
8e9adeb4b4
commit
454267455b
2 changed files with 4 additions and 2 deletions
|
|
@ -48,7 +48,7 @@ public class Mechs implements ContentList {
|
|||
}};
|
||||
|
||||
dart = new Mech("dart-ship", true){{
|
||||
drillPower = -1;
|
||||
drillPower = 1;
|
||||
speed = 0.4f;
|
||||
maxSpeed = 3f;
|
||||
drag = 0.1f;
|
||||
|
|
|
|||
|
|
@ -103,7 +103,9 @@ public class BlockConsumeFragment extends Fragment {
|
|||
}).size(10*scale).get();
|
||||
|
||||
result.hovered(() -> hovered[0] = true);
|
||||
result.exited(() -> hovered[0] = false);
|
||||
if(!mobile){
|
||||
result.exited(() -> hovered[0] = false);
|
||||
}
|
||||
|
||||
table.row();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue