supposedly fix saving
This commit is contained in:
parent
ec745f87ab
commit
7c38a4f619
6 changed files with 2213 additions and 2241 deletions
|
|
@ -83,7 +83,7 @@ end
|
|||
|
||||
function World:listRoomNames()
|
||||
local names = {}
|
||||
for _, file in ipairs(love.filesystem.getDirectoryItems("rooms")) do
|
||||
for _, file in ipairs(getSourceDirectoryItems("rooms")) do
|
||||
local name = file:match("^(.+)%.sav$")
|
||||
if name and name ~= "world" then table.insert(names, name) end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue