Remove commit_drop from status and loot UI since DropTarget already does that.

This commit is contained in:
Zed A. Shaw 2025-06-09 22:57:49 -04:00
parent 343f3a246f
commit 7a551cf83a
5 changed files with 6 additions and 20 deletions

View file

@ -104,12 +104,6 @@ namespace gui {
$selected_entity = world_entity;
}
bool StatusUI::commit_drop(DinkyECS::Entity gui_id) {
// BUG: just roll this into DropTarget
auto& drop = get_drop_target(gui_id);
return drop.commit();
}
guecs::GrabSource& StatusUI::get_grab_source(DinkyECS::Entity gui_id) {
dbc::check($gui.has<guecs::Sprite>(gui_id), "invalid GrabSource requested, entity isn't in the GUI.");