Load saves in parallel
This commit is contained in:
@@ -772,8 +772,10 @@ public class DesktopInput extends InputHandler{
|
||||
|
||||
@Override
|
||||
public void panCamera(Vec2 position){
|
||||
panning = true;
|
||||
camera.position.set(position);
|
||||
if(!locked()){
|
||||
panning = true;
|
||||
camera.position.set(position);
|
||||
}
|
||||
}
|
||||
|
||||
protected void updateMovement(Unit unit){
|
||||
|
||||
@@ -1484,7 +1484,9 @@ public abstract class InputHandler implements InputProcessor, GestureListener{
|
||||
|
||||
/** Forces the camera to a position and enables panning on desktop. */
|
||||
public void panCamera(Vec2 position){
|
||||
camera.position.set(position);
|
||||
if(!locked()){
|
||||
camera.position.set(position);
|
||||
}
|
||||
}
|
||||
|
||||
public boolean selectedBlock(){
|
||||
|
||||
Reference in New Issue
Block a user