diff --git a/scripts/mapscript.gd b/scripts/mapscript.gd index e88a2c5..5bc567e 100644 --- a/scripts/mapscript.gd +++ b/scripts/mapscript.gd @@ -22,8 +22,8 @@ func stats(): get_node(objectName).stop() $"../back".disabled = false $"../back".visible = true - $"../characterViewer/ScrollContainer/VBoxContainer".get_child(1).text = str(playerIndex-1) - $"../characterViewer/ScrollContainer/VBoxContainer".get_child(1).editable = false + $"../characterViewer/ScrollContainer/VBoxContainer".get_child(0).text = str(playerIndex-1) + $"../characterViewer/ScrollContainer/VBoxContainer".get_child(0).editable = false $"../characterViewer"._on_button_pressed() func restart():