Merge remote-tracking branch 'origin/master'
This commit is contained in:
@@ -661,7 +661,7 @@ public class DesktopInput extends InputHandler{
|
||||
}
|
||||
}
|
||||
|
||||
//update commander inut
|
||||
//update commander unit
|
||||
if(Core.input.keyTap(Binding.command)){
|
||||
Call.unitCommand(player);
|
||||
}
|
||||
|
||||
@@ -241,6 +241,11 @@ public abstract class InputHandler implements InputProcessor, GestureListener{
|
||||
pay.set(x, y);
|
||||
pay.dropLastPayload();
|
||||
pay.set(prevx, prevy);
|
||||
pay.controlling().each(u -> {
|
||||
if(u instanceof Payloadc){
|
||||
Call.payloadDropped(u, u.x, u.y);
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user