supposedly fix saving
This commit is contained in:
parent
ec745f87ab
commit
7c38a4f619
6 changed files with 2213 additions and 2241 deletions
1
room.lua
1
room.lua
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue