mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2025-01-11 18:00:29 +00:00
Fix save() sPath param.
This commit is contained in:
parent
3b7b845930
commit
463635a459
@ -228,7 +228,7 @@ end
|
||||
-- @see settings.load
|
||||
function save(sPath)
|
||||
expect(1, sPath, "string", "nil")
|
||||
local file = fs.open(".settings", "w")
|
||||
local file = fs.open(sPath or ".settings", "w")
|
||||
if not file then
|
||||
return false
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user