Fix typo in IniFile.WriteFile() error handling
This commit is contained in:
@@ -107,7 +107,7 @@ IniFile =
|
|||||||
local file = RageFileUtil.CreateRageFile()
|
local file = RageFileUtil.CreateRageFile()
|
||||||
|
|
||||||
if not file:Open(file_path, RageFile.WRITE) then
|
if not file:Open(file_path, RageFile.WRITE) then
|
||||||
Warn( string.format("WriteFile(%s): %s",file_path.file:GetError()) )
|
Warn( string.format("WriteFile(%s): %s",file_path,file:GetError()) )
|
||||||
file:destroy()
|
file:destroy()
|
||||||
return false
|
return false
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user