stuff
This commit is contained in:
@@ -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,
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user