mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-01-28 07:22:21 -08:00
Fixed #10554
This commit is contained in:
parent
ae75123d3e
commit
80815bf8a1
2 changed files with 3 additions and 1 deletions
|
|
@ -1983,6 +1983,8 @@ public abstract class InputHandler implements InputProcessor, GestureListener{
|
|||
}
|
||||
|
||||
public void tryDropItems(@Nullable Building build, float x, float y){
|
||||
if(player.dead()) return;
|
||||
|
||||
if(!droppingItem || player.unit().stack.amount <= 0 || canTapPlayer(x, y) || state.isPaused() ){
|
||||
droppingItem = false;
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue