mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-01-09 06:37:30 +07:00
Bugfixes
This commit is contained in:
parent
7da400608c
commit
7639f8102f
@ -390,7 +390,9 @@ public class LExecutor{
|
||||
if(exec.bool(p1)){
|
||||
Unit result = Units.closest(unit.team, unit.x, unit.y, unit.type().hitSize * 2f, u -> u.isAI() && u.isGrounded() && pay.canPickup(u) && u.within(unit, u.hitSize + unit.hitSize * 1.2f));
|
||||
|
||||
Call.pickedUnitPayload(unit, result);
|
||||
if(result != null){
|
||||
Call.pickedUnitPayload(unit, result);
|
||||
}
|
||||
}else{ //buildings
|
||||
Building tile = world.buildWorld(unit.x, unit.y);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user