Deprecated methods intended to work around filenames with accents, fixed crash when the Compiler wants to rewrite PBS files if they don't exist

This commit is contained in:
Maruno17
2023-05-20 22:10:11 +01:00
parent 276c052822
commit 167155c67d
17 changed files with 130 additions and 158 deletions

View File

@@ -14,10 +14,10 @@ def pbGetLegalMoves(species)
end
def pbSafeCopyFile(x, y, z = nil)
if safeExists?(x)
if FileTest.exist?(x)
safetocopy = true
filedata = nil
if safeExists?(y)
if FileTest.exist?(y)
different = false
if FileTest.size(x) == FileTest.size(y)
filedata2 = ""