mirror of
https://github.com/Anuken/Mindustry.git
synced 2024-11-14 03:25:32 +03:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
b0cdac59f0
@ -424,7 +424,7 @@ public class MobileInput extends InputHandler implements GestureListener{
|
|||||||
@Override
|
@Override
|
||||||
public void useSchematic(Schematic schem){
|
public void useSchematic(Schematic schem){
|
||||||
selectRequests.clear();
|
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;
|
lastSchematic = schem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user