fixed an error in the fs lib

This commit is contained in:
Izaya 2017-04-23 19:31:13 +10:00
parent a77d0c6356
commit 7968f2a4f5
1 changed files with 1 additions and 1 deletions

View File

@ -2,5 +2,5 @@ fT = {}
function fres(p)
local F = (p:match("(%a-):") or p:match("/?(%a-)/"))
local P = (p:match("%a-:(.+)") or p:match("/?%a-/(.+)"))
if fT[F] ~= nil then return fT[fid],P else return false end
if fT[F] ~= nil then return fT[F],P else return false end
end