you can now have more than 6 custom characters

This commit is contained in:
JHDev2006
2025-09-13 20:37:42 +01:00
parent 0b40efc9f7
commit 38c97e9e17
5 changed files with 9 additions and 6 deletions

View File

@@ -110,4 +110,7 @@ func apply_settings() -> void:
for i in file.audio.keys():
$Apply/Audio.set_value(i, file.audio[i])
if Settings.file.game.has("characters"):
Global.player_characters = Settings.file.game.characters
var idx := 0
for i in Settings.file.game.characters:
Global.player_characters[idx] = int(i)
idx += 1