Fixed gdscript array remove/erase namechange

This commit is contained in:
Jan Heemstra 2021-12-06 22:13:12 +01:00
parent 95a1c7eb92
commit 7c6f4fddaa

View file

@ -235,7 +235,7 @@ func update_hud():
scores.reverse() scores.reverse()
var rank = scores.find(score) + 1 var rank = scores.find(score) + 1
scores.remove(scores.find(score)) scores.remove_at(scores.find(score))
scores.sort() scores.sort()
scores.reverse() scores.reverse()