This commit is contained in:
bee
2026-07-07 10:01:56 +02:00
parent 2e28afebce
commit e946b43db7
13 changed files with 140 additions and 63 deletions
+3 -3
View File
@@ -5,7 +5,7 @@ extends Label
func _process(_delta: float) -> void:
if boat == null:
if boat == null or world == null:
text = "no boat"
return
@@ -22,6 +22,6 @@ Position: (%.0f, %.0f)
boat.throttle * 100.0,
speed,
boat.submerged_ratio * 100.0,
boat.global_position.x,
boat.global_position.z,
pos.x,
pos.z,
]