diff options
Diffstat (limited to 'go/ui/hoverable.go')
| -rw-r--r-- | go/ui/hoverable.go | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/go/ui/hoverable.go b/go/ui/hoverable.go index 08fd9240..ea80b51e 100644 --- a/go/ui/hoverable.go +++ b/go/ui/hoverable.go @@ -2,6 +2,7 @@ package ui import ( "image/color" + "muhq.space/muhqs-game/go/game" ) @@ -111,7 +112,9 @@ func (h *hoverPermInfo) init(mv *MapView, c *Collection) { } h.reset = func() { - mv.ClearTileHighlights() + for _, t := range movable { + mv.ClearTileHighlight(t) + } } } |
