Show close popup even if gui is disabled
This commit is contained in:
parent
5db4b745c6
commit
428a56e0d1
1 changed files with 4 additions and 0 deletions
|
|
@ -400,6 +400,10 @@ void Toolbar::update() {
|
||||||
if(!main.world->clientStillConnecting)
|
if(!main.world->clientStillConnecting)
|
||||||
chat_box();
|
chat_box();
|
||||||
}
|
}
|
||||||
|
else {
|
||||||
|
if(!closePopupData.worldsToClose.empty()) // Should still show close popup if gui is disabled
|
||||||
|
close_popup_gui();
|
||||||
|
}
|
||||||
|
|
||||||
if(!main.world->clientStillConnecting) {
|
if(!main.world->clientStillConnecting) {
|
||||||
if(io->hoverObstructed && (io->mouse.leftClick || io->mouse.rightClick))
|
if(io->hoverObstructed && (io->mouse.leftClick || io->mouse.rightClick))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue