Fixed menus pausing in multiplayer
This commit is contained in:
@@ -651,9 +651,11 @@ public class Control implements ApplicationListener, Loadable{
|
|||||||
ui.chatfrag.hide();
|
ui.chatfrag.hide();
|
||||||
}else if(!ui.paused.isShown() && !scene.hasDialog()){
|
}else if(!ui.paused.isShown() && !scene.hasDialog()){
|
||||||
ui.paused.show();
|
ui.paused.show();
|
||||||
|
if(!net.active()){
|
||||||
state.set(State.paused);
|
state.set(State.paused);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if(!mobile && Core.input.keyTap(Binding.screenshot) && !scene.hasField() && !scene.hasKeyboard()){
|
if(!mobile && Core.input.keyTap(Binding.screenshot) && !scene.hasField() && !scene.hasKeyboard()){
|
||||||
renderer.takeMapScreenshot();
|
renderer.takeMapScreenshot();
|
||||||
|
|||||||
Reference in New Issue
Block a user