saving data into "storage" is not working for me (solved)
Posted: Tue Dec 17, 2024 4:46 pm
Can someone help me find what's wrong with my code? it looks like I can't save complex objects in the storage variable
I use this save method every time I modify the data but it looks like storage is only saving tesseracts and pointers with empty tables
Code: Select all
function tesseract_game:save()
if self.tesseracts ~= nil then
storage.tesseracts = self.tesseracts
end
if self.pointers ~= nil then
storage.pointers = self.pointers
end
end