From 68b564fa183e26717d284c2af4d03b8c4131bc4d Mon Sep 17 00:00:00 2001 From: hodasemi Date: Sat, 8 Mar 2025 07:33:45 +0100 Subject: [PATCH] Round 2 --- src/gui_handler/gui_handler.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/gui_handler/gui_handler.rs b/src/gui_handler/gui_handler.rs index ea03478..d29c840 100644 --- a/src/gui_handler/gui_handler.rs +++ b/src/gui_handler/gui_handler.rs @@ -874,6 +874,9 @@ impl GuiHandler { current.disable(world)?; } } + (Some(current), None) => { + current.disable(world)?; + } _ => (), } @@ -894,6 +897,9 @@ impl GuiHandler { current.disable(world)?; } } + (Some(current), None) => { + current.disable(world)?; + } _ => (), }