removed unneeded code, fixed game exit from menu

This commit is contained in:
2024-06-11 19:15:40 +02:00
parent b8496d0ae2
commit f14f4ff21a
4 changed files with 7 additions and 9 deletions

View File

@@ -482,11 +482,6 @@ func (scene *ScenePlay) Draw(screen *ebiten.Image) {
scene.Camera.Render(scene.World, screen)
scene.DrawDebug(screen)
op.GeoM.Reset()
op.GeoM.Translate(0, 0)
scene.Game.Screen.DrawImage(screen, op)
}
func (scene *ScenePlay) DrawEvolution(screen *ebiten.Image, x, y int, op *ebiten.DrawImageOptions) {