diff options
-rw-r--r-- | engines/mohawk/riven_card.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/mohawk/riven_card.cpp b/engines/mohawk/riven_card.cpp index 555688ce7e..9026f2e8fb 100644 --- a/engines/mohawk/riven_card.cpp +++ b/engines/mohawk/riven_card.cpp @@ -917,10 +917,12 @@ void RivenCard::leave() { if (_pressedHotspot) { script += _pressedHotspot->getScript(kMouseUpScript); + _pressedHotspot = nullptr; } if (_hoveredHotspot) { script += _hoveredHotspot->getScript(kMouseLeaveScript); + _hoveredHotspot = nullptr; } script += getScript(kCardLeaveScript); |