Skip to content

Commit

Permalink
fix: updateAttachedWidgets
Browse files Browse the repository at this point in the history
  • Loading branch information
mehah committed Aug 8, 2024
1 parent 4f8a3da commit 6d2009f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/client/map.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1174,6 +1174,7 @@ bool Map::removeAttachedWidgetFromObject(const UIWidgetPtr& widget) {

void Map::updateAttachedWidgets(const MapViewPtr& mapView)
{
g_drawPool.select(DrawPoolType::MAP);
for (const auto& [widget, object] : m_attachedObjectWidgetMap) {
if (widget->isDestroyed()) {
continue;
Expand Down

0 comments on commit 6d2009f

Please sign in to comment.