Add check_reference helper

This commit is contained in:
JonShard
2026-08-20 11:46:00 +02:00
parent 6432dca31a
commit a79096eb1d
14 changed files with 45 additions and 54 deletions
+1 -2
View File
@@ -32,8 +32,7 @@ func _enter_tree() -> void:
# The child station has to call super.ready() for this to be called
func ready() -> void:
super.ready()
if not progress_bar:
SweetLogger.warning("{0} missing progress_bar reference", [name])
Helper.check_reference(self, progress_bar, ProgressBar3D)
# The child station has to call super.process(delta) for this to be called