A few more fixes for how Combat works.
This commit is contained in:
parent
2a92687bc9
commit
54d0a41c52
3 changed files with 7 additions and 20 deletions
|
|
@ -193,9 +193,8 @@ namespace gui {
|
|||
auto gui_id = std::any_cast<guecs::Entity>(data);
|
||||
auto& slot_name = $status_ui.$gui.name_for(gui_id);
|
||||
|
||||
if(System::use_item(slot_name)) {
|
||||
$status_ui.update();
|
||||
}
|
||||
System::use_item(slot_name);
|
||||
$status_ui.update();
|
||||
} break;
|
||||
case MOUSE_CLICK:
|
||||
mouse_action(guecs::NO_MODS);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue