Update mod-manager.lua

Fixes fileExists not working.
develop
warmist 2014-04-08 09:07:49 +03:00
parent 2ca34b9353
commit fccdbb010d
1 changed files with 2 additions and 2 deletions

@ -1,4 +1,3 @@
local gui=require 'gui' local gui=require 'gui'
local widgets=require 'gui.widgets' local widgets=require 'gui.widgets'
@ -10,6 +9,7 @@ function fileExists(filename)
return return
else else
file:close() file:close()
return true
end end
end end
function copyFile(from,to) --oh so primitive function copyFile(from,to) --oh so primitive
@ -303,4 +303,4 @@ if dfhack.gui.getCurFocus()~='title' then
qerror("Can only be used in title screen") qerror("Can only be used in title screen")
end end
local m=manager{} local m=manager{}
m:show() m:show()