summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/main.go b/main.go
index 4a3a9ed..90d5f97 100644
--- a/main.go
+++ b/main.go
@@ -356,6 +356,7 @@ func (g *Game) Update() error {
for _, obj := range g.objects {
obj.Update(*g.tilemap, g.objects)
+ obj.highlight = false
}
g.tilemap.Update()
@@ -765,9 +766,6 @@ func (g *Game) SetInGame() {
g.player.alpha = 1.0
g.StopRewinding()
- for _, object := range g.objects {
- object.highlight = false
- }
}
func (g *Game) SetPlacing() {