mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-07 13:15: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:
@@ -26,7 +26,7 @@ module GameData
|
||||
|
||||
singleton_class.alias_method(:__orig__load, :load) unless singleton_class.method_defined?(:__orig__load)
|
||||
def self.load
|
||||
__orig__load if safeExists?("Data/#{self::DATA_FILENAME}")
|
||||
__orig__load if FileTest.exist?("Data/#{self::DATA_FILENAME}")
|
||||
end
|
||||
|
||||
# @param species [Symbol, self, String]
|
||||
|
||||
Reference in New Issue
Block a user