Fix the loot close not working...maybe.

This commit is contained in:
Zed A. Shaw 2026-05-06 22:27:42 -04:00
parent 190748af3c
commit 4dafcf6d14

View file

@ -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);
}