mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-01-27 15:02:03 -08:00
Potential fix for #5660
This commit is contained in:
parent
b64432dafd
commit
fef8ee925b
3 changed files with 4 additions and 4 deletions
|
|
@ -657,8 +657,8 @@ public class Blocks implements ContentList{
|
|||
craftTime = 35f;
|
||||
size = 2;
|
||||
|
||||
consumes.power(1f);
|
||||
consumes.liquid(Liquids.slag, 0.07f);
|
||||
consumes.power(1.1f);
|
||||
consumes.liquid(Liquids.slag, 4f / 60f);
|
||||
}};
|
||||
|
||||
disassembler = new Separator("disassembler"){{
|
||||
|
|
|
|||
|
|
@ -356,7 +356,7 @@ public abstract class InputHandler implements InputProcessor, GestureListener{
|
|||
Events.fire(new TapEvent(player, tile));
|
||||
}
|
||||
|
||||
@Remote(targets = Loc.both, called = Loc.both, forward = true)
|
||||
@Remote(targets = Loc.both, called = Loc.server, forward = true)
|
||||
public static void buildingControlSelect(Player player, Building build){
|
||||
if(player == null || build == null || player.dead()) return;
|
||||
|
||||
|
|
|
|||
|
|
@ -248,7 +248,7 @@ public class CoreBlock extends StorageBlock{
|
|||
@Override
|
||||
public void onControlSelect(Player player){
|
||||
Fx.spawn.at(player);
|
||||
if(net.client()){
|
||||
if(net.client() && player == Vars.player){
|
||||
control.input.controlledType = null;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue