Show close popup even if gui is disabled

This commit is contained in:
Yousef Khadadeh 2026-01-23 09:40:50 +03:00
parent 5db4b745c6
commit 428a56e0d1

View file

@ -400,6 +400,10 @@ void Toolbar::update() {
if(!main.world->clientStillConnecting)
chat_box();
}
else {
if(!closePopupData.worldsToClose.empty()) // Should still show close popup if gui is disabled
close_popup_gui();
}
if(!main.world->clientStillConnecting) {
if(io->hoverObstructed && (io->mouse.leftClick || io->mouse.rightClick))