Minor fixes

This commit is contained in:
Applevangelist
2025-10-26 16:19:05 +01:00
parent 55242edbde
commit 8392788cdb
3 changed files with 4 additions and 13 deletions

View File

@@ -320,8 +320,8 @@ function SCORING:New( GameName, SavePath, AutoSave )
-- Create the CSV file.
self.AutoSavePath = SavePath
self.AutoSave = AutoSave or true
if self.AutoSave == true then
self.AutoSave = (AutoSave == nil or AutoSave == true) and true or false
if self.AutoSavePath and self.AutoSave == true then
self:OpenCSV( GameName )
end