summaryrefslogtreecommitdiff
path: root/src/main/kotlin/de/romjaki/pluggabledino/game
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/kotlin/de/romjaki/pluggabledino/game')
-rw-r--r--src/main/kotlin/de/romjaki/pluggabledino/game/GameWorld.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/kotlin/de/romjaki/pluggabledino/game/GameWorld.kt b/src/main/kotlin/de/romjaki/pluggabledino/game/GameWorld.kt
index 21c0571..9c405f0 100644
--- a/src/main/kotlin/de/romjaki/pluggabledino/game/GameWorld.kt
+++ b/src/main/kotlin/de/romjaki/pluggabledino/game/GameWorld.kt
@@ -121,7 +121,7 @@ class GameWorld : ContactListener {
if (delay < 0) {
createCactus1()
- delay = random.nextFloat() + rand(1, 3)-0.5f
+ delay = random.nextFloat() + rand(2, 3)-0.5f
}
cacti.forEach {