Fix the loot close not working...maybe.
This commit is contained in:
parent
190748af3c
commit
4dafcf6d14
1 changed files with 3 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue