diff --git a/Battle Pong/Main.gd b/Battle Pong/Main.gd index e85c991680b5e313ffc7ebcb964d93f978812101..bae7c8c639c25b6b63248e0366150135b365b204 100644 --- a/Battle Pong/Main.gd +++ b/Battle Pong/Main.gd @@ -309,6 +309,8 @@ func _on_data(id): $PlayerOne.run(game_playtime_per_step) $PlayerTwo.run(game_playtime_per_step) ball.run(game_playtime_per_step) + if $"/root/GameSettings".obstacles_enabled: + $Obstacle.run(game_playtime_per_step) timeout()