Skip to content
Snippets Groups Projects
Commit 764bc6f0 authored by DarkGod's avatar DarkGod
Browse files

heh

parent 145f1b24
No related branches found
No related tags found
No related merge requests found
Pipeline #
......@@ -271,7 +271,7 @@ function _M:installOldGame(version_string)
local ok = d:start()
if ok then
local wdir = fs.getWritePath()
local _, _, dir, name = modfile:find("(.+)/([^/]+)$")
local _, _, dir, name = modfile:find("(.+/)([^/]+)$")
if dir then
fs.setWritePath(fs.getRealPath(dir))
fs.delete(name)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment