public void DismantleQueryRemove() { if (dismantleQueryBox != null) { dismantleQueryBox.OnButton1Click(); dismantleQueryBox = null; } waitingForPlayerInput = false; }