That does not look right:
- the indexing is not counting correctly
- we keep adding duplicate entries to the array every time the user commits
For saving it should be probably closer to:
- top bit: create a save game (or use existing one), fetch the content of the combo, push it into the save game object → save:
- bottom bit: fetch the content of the combo - note the array is a
local variable
Also, consider saving only when it’s actually needed - when we destroy that widget or when we quit the game.
For loading:
It’s all pseudoscript - please adjust to your needs. You did not include your implementation of this so it’s pretty much impossible to tell what could have gone wrong.

