mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2026-01-22 14:26:01 +00:00
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:
@@ -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 = ""
|
||||
|
||||
Reference in New Issue
Block a user