petites corrections du soir

j'ai la flemme de tout indiquer ici
découvre avec plaisir, si le plaisir tu as.
This commit is contained in:
Thomas
2025-02-25 18:11:52 +01:00
parent dcb63f7fe0
commit 41573e0753
11 changed files with 191 additions and 18 deletions

View File

@@ -4,7 +4,7 @@ class_name LightSemaphore
@export var dependantSemaphore : LightSemaphore = null
@export var hasOwnTimerEnabled = true
@onready var lights := [$Sempahore/green, $Sempahore/yellow, $Sempahore/red ];
var light = 0;
@export var light = 0;
func _ready() -> void:
$brakeZone.get_child(1).disabled = !light;