Fixed annoying error

This commit is contained in:
Rendo 2025-11-28 18:59:23 +05:00
commit aa1c1c8d64
8 changed files with 38 additions and 49 deletions

View file

@ -0,0 +1,11 @@
extends Label
@export var inventory: WeaponSystem
func _process(_delta: float) -> void:
var weapons = ""
for child in inventory.get_children():
if child is WeaponSubStateMachine:
weapons += child.name + ", "
text = weapons

View file

@ -0,0 +1 @@
uid://dmy6ahci16los