Saving a table with non-linear keys breaks it

I don’t know if this is a bug or I am missing something but when I go to save a table where the keys are not linear (one right after the other), the table refuses to save. I would post this in bugs but I don’t have permission.

Example with keys 1 and 300 (Saves 1 but not 300)

Example with keys 1 and 2 (Saves 1 and 2)

I think it mistakenly thinks the table is an array first before discarding the other number? Try avoiding it as numbers and use them as strings instead.

1 Like