I’m using this Table-Load-Save library and I can save and load data fine. But when I try to save again it gives me an error. Now, the error might not be obvious because basically I have a code that prints the table that has been saved and the error says:
bad argument #1 to 'pairs' (table expected, got number)
This only happens when I try to re-save after successfully saving and loading once, and it also gives an error when re-launching the app afterwards.