mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-01-27 06:51:30 -08:00
Modifier reordering
This commit is contained in:
parent
521e3c773f
commit
6b3039dba2
20 changed files with 40 additions and 32 deletions
|
|
@ -113,7 +113,7 @@ public abstract class InputHandler implements InputProcessor, GestureListener{
|
|||
|
||||
if(target.isAI() && target.isGrounded() && pay.payloads().size < unit.type().payloadCapacity
|
||||
&& target.mass() < unit.mass()
|
||||
&& target.within(unit, unit.type().hitsize * 1.5f)){
|
||||
&& target.within(unit, unit.type().hitsize * 1.5f + target.type().hitsize)){
|
||||
pay.pickup(target);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue