mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-07 21:24:59 +00:00
added limit threshold before clearing cache
This commit is contained in:
@@ -31,6 +31,9 @@ module RPG
|
||||
return obj
|
||||
end
|
||||
|
||||
def self.need_clearing()
|
||||
return @cache.size >= 100
|
||||
end
|
||||
|
||||
|
||||
def self.load_bitmap(folder_name, filename, hue = 0)
|
||||
|
||||
Reference in New Issue
Block a user