supposedly fix saving

This commit is contained in:
Your Name 2026-08-12 17:20:11 -04:00
parent ec745f87ab
commit 7c38a4f619
6 changed files with 2213 additions and 2241 deletions

View file

@ -1010,6 +1010,7 @@ function Room:save()
local room = TSerial.pack(self:serialize(), nil, true)
local success = love.filesystem.write("rooms/" .. name .. ".sav", room)
if success then print("Saved runtime: " .. love.filesystem.getSaveDirectory() .. "/rooms/" .. name .. ".sav") end
if not success then error "great job u fool" end
end