mirror of
https://github.com/love2d/love.git
synced 2026-08-21 13:09:56 +02:00
Prevent 'love .' from adding the top save dir to the search path
This commit is contained in:
@@ -76,8 +76,10 @@ function love.path.getfull(p)
|
||||
cwd = love.path.endslash(cwd)
|
||||
|
||||
-- Construct a full path.
|
||||
return cwd .. love.path.normalslashes(p)
|
||||
local full = cwd .. love.path.normalslashes(p)
|
||||
|
||||
-- Remove trailing /., if applicable
|
||||
return full:match("(.-)/%.") or full
|
||||
end
|
||||
|
||||
-- Returns the leaf of a full path.
|
||||
|
||||
+2104
-2099
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user