Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
pomo-mondreganto committed Dec 8, 2023
2 parents addf732 + 859adf9 commit c1e2fd1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/engine/engine.go
Original file line number Diff line number Diff line change
Expand Up @@ -687,7 +687,7 @@ func (e *Engine) Draw(screen *ebiten.Image) {
base := geometry.Origin.Add(visible)
op := &ebiten.DrawImageOptions{}
op.GeoM.Translate(base.X, base.Y)
screen.DrawImage(sprites.NewManager().GetSprite(sprites.Cross), op)
screen.DrawImage(e.spriteManager.GetSprite(sprites.Cross), op)
}
}

Expand All @@ -697,7 +697,7 @@ func (e *Engine) Draw(screen *ebiten.Image) {
base := geometry.Origin.Add(visible)
op := &ebiten.DrawImageOptions{}
op.GeoM.Translate(base.X, base.Y)
screen.DrawImage(sprites.NewManager().GetSprite(sprites.Barbell), op)
screen.DrawImage(e.spriteManager.GetSprite(sprites.Cross), op)
}
}
}
Expand Down

0 comments on commit c1e2fd1

Please sign in to comment.