summaryrefslogtreecommitdiff
path: root/src/main/kotlin/de/romjaki/pluggabledino/states/LostState.kt
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/kotlin/de/romjaki/pluggabledino/states/LostState.kt')
-rw-r--r--src/main/kotlin/de/romjaki/pluggabledino/states/LostState.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/kotlin/de/romjaki/pluggabledino/states/LostState.kt b/src/main/kotlin/de/romjaki/pluggabledino/states/LostState.kt
index 88b6daf..20ccf96 100644
--- a/src/main/kotlin/de/romjaki/pluggabledino/states/LostState.kt
+++ b/src/main/kotlin/de/romjaki/pluggabledino/states/LostState.kt
@@ -32,7 +32,7 @@ class LostState : BasicGameState() {
override fun render(container: GameContainer?, game: StateBasedGame?, g: Graphics?) {
g!!
- g.scale(1.25f,1.25f)
+ g.scale(WIDTH_RATIO, HEIGHT_RATIO)
g.background = Color.lightGray
back.draw(g)
playAgain.draw(g)