look like it works now, i did a workaround, dunno what this issue was 💀

This commit is contained in:
Tabby 2025-08-11 23:34:05 +10:00
parent 7584cf0b19
commit 8c0860a840
8 changed files with 64 additions and 44 deletions

View file

@ -33,13 +33,14 @@ func _process(delta: float) -> void:
func activate_segment(act_segment : int):
Router.current_seg = segements[act_segment]
Router.cur_id = act_segment
player.reparent(Router.current_seg)
for i in segements.size():
if act_segment == i:
segements[i].become_real()
else:
segements[i].become_fake()
player.call_deferred("reparent",Router.current_seg)
#player.reparent(Router.current_seg)
#for i in segements.size():
#if act_segment == i:
#segements[i].become_real()
#
#else:
#segements[i].become_fake()
func redraw_line():