@@ -302,12 +302,12 @@ public class DesktopInput extends InputHandler{
|
||||
player.clearBuilding();
|
||||
}
|
||||
|
||||
if(Core.input.keyTap(Binding.schematic_select)){
|
||||
if(Core.input.keyTap(Binding.schematic_select) && !ui.chatfrag.chatOpen()){
|
||||
schemX = rawCursorX;
|
||||
schemY = rawCursorY;
|
||||
}
|
||||
|
||||
if(Core.input.keyTap(Binding.schematic_menu)){
|
||||
if(Core.input.keyTap(Binding.schematic_menu) && !ui.chatfrag.chatOpen()){
|
||||
ui.schematics.show();
|
||||
}
|
||||
|
||||
|
||||
@@ -401,6 +401,11 @@ public abstract class InputHandler implements InputProcessor, GestureListener{
|
||||
protected void flushSelectRequests(Array<BuildRequest> requests){
|
||||
for(BuildRequest req : requests){
|
||||
if(req.block != null && validPlace(req.x, req.y, req.block, req.rotation)){
|
||||
BuildRequest other = getRequest(req.x, req.y);
|
||||
if(other != null){
|
||||
selectRequests.remove(other);
|
||||
}
|
||||
|
||||
selectRequests.add(req.copy());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user