Fixed #4584
This commit is contained in:
@@ -434,7 +434,7 @@ public class LExecutor{
|
|||||||
}
|
}
|
||||||
case build -> {
|
case build -> {
|
||||||
if(unit.canBuild() && exec.obj(p3) instanceof Block block){
|
if(unit.canBuild() && exec.obj(p3) instanceof Block block){
|
||||||
int x = World.toTile(x1), y = World.toTile(y1);
|
int x = World.toTile(x1 - block.offset/tilesize), y = World.toTile(y1 - block.offset/tilesize);
|
||||||
int rot = exec.numi(p4);
|
int rot = exec.numi(p4);
|
||||||
|
|
||||||
//reset state of last request when necessary
|
//reset state of last request when necessary
|
||||||
|
|||||||
Reference in New Issue
Block a user