From 4dafcf6d14432a280f18fffd6b9fdcc5a0bf2e47 Mon Sep 17 00:00:00 2001 From: "Zed A. Shaw" Date: Wed, 6 May 2026 22:27:42 -0400 Subject: [PATCH] Fix the loot close not working...maybe. --- src/gui/fsm.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/gui/fsm.cpp b/src/gui/fsm.cpp index b3b53d5..c8e6ac6 100644 --- a/src/gui/fsm.cpp +++ b/src/gui/fsm.cpp @@ -132,7 +132,9 @@ namespace gui { void FSM::LOOTING(Event ev, std::any data) { using enum Event; - if(!$dnd_loot.event(ev, data)) { + if(ev == LOOT_CLOSE) { + $loot_ui.active = false; + } else if(!$dnd_loot.event(ev, data)) { dbc::log("!!!!!!!!!!!!!!!!!!!! dnd_lot said end"); state(State::IDLE); }