fixs
This commit is contained in:
@@ -43,8 +43,9 @@ func _ready() -> void:
|
||||
|
||||
# Trier par ordre alphabétique
|
||||
tableau_paires.sort_custom(func(a, b): return a[\"value\"] > b[\"value\"])
|
||||
text += \"1 Player\"
|
||||
for i in range(clamp(5, 0, tableau_paires.size())):
|
||||
text += tableau_paires[i][\"key\"] + \" : \" + str(tableau_paires[i][\"value\"]) + \"\\n\"
|
||||
text += \"\\n\" + tableau_paires[i][\"key\"] + \" : \" + str(tableau_paires[i][\"value\"])
|
||||
"
|
||||
|
||||
[sub_resource type="GDScript" id="GDScript_u3kfb"]
|
||||
@@ -57,8 +58,9 @@ func _ready() -> void:
|
||||
|
||||
# Trier par ordre alphabétique
|
||||
tableau_paires.sort_custom(func(a, b): return a[\"value\"] < b[\"value\"])
|
||||
text += \"2 Players\"
|
||||
for i in range(clamp(5, 0, tableau_paires.size())):
|
||||
text += tableau_paires[i][\"key\"] + \" : \" + str(tableau_paires[i][\"value\"]) + \"\\n\"
|
||||
text += \"\\n\" + tableau_paires[i][\"key\"] + \" : \" + str(tableau_paires[i][\"value\"])
|
||||
"
|
||||
|
||||
[node name="load_screen" type="Node2D"]
|
||||
|
||||
Reference in New Issue
Block a user