1
0
mirror of https://github.com/Anuken/Mindustry.git synced 2024-11-13 15:43:44 +03:00

Merge remote-tracking branch 'origin/master'

This commit is contained in:
Anuken 2021-02-24 15:01:48 -05:00
commit b0cdac59f0

View File

@ -424,7 +424,7 @@ public class MobileInput extends InputHandler implements GestureListener{
@Override
public void useSchematic(Schematic schem){
selectRequests.clear();
selectRequests.addAll(schematics.toRequests(schem, player.tileX(), player.tileY()));
selectRequests.addAll(schematics.toRequests(schem, World.toTile(Core.camera.position.x), World.toTile(Core.camera.position.y)));
lastSchematic = schem;
}