Browse Source

stop foreground on init

Arnaud Vergnet 6 months ago
parent
commit
18a459f2c6
1 changed files with 3 additions and 0 deletions
  1. 3
    0
      mini-game/scenes/decor/foreground.gd

+ 3
- 0
mini-game/scenes/decor/foreground.gd View File

@@ -5,6 +5,9 @@ onready var texture : TextureRect = $TextureRect
5 5
 var force_stop = false
6 6
 var moving = false
7 7
 
8
+func _ready():
9
+	stop()
10
+
8 11
 func stop():
9 12
 	moving = false
10 13
 	force_stop = true

Loading…
Cancel
Save