forked from townforge/townforge
game: fix crash on exiting the auction items screen
This commit is contained in:
parent
97f3387933
commit
c503fc60b3
@ -2978,6 +2978,9 @@ void UIUrho3D::HandleNewAuctionItem(StringHash eventType, VariantMap& eventData)
|
||||
newEventData[NewAuctionItem::P_ITEMS] = (void*)v;
|
||||
SendEvent(E_CRYPTOCITY_NEW_AUCTION_ITEM, newEventData);
|
||||
});
|
||||
SubscribeToEvent(auctionItemsDialog, E_AUCTION_ITEMS_CLOSED, [this](StringHash eventType, VariantMap& eventData) {
|
||||
auctionItemsDialog = NULL;
|
||||
});
|
||||
SendTutorialTrigger("screen-auction-items");
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user