mirror of
https://forgejo.xatacraft.ru/Sunshine/mkxp-sunshine.git
synced 2026-08-19 13:29:54 +00:00
fast fix
This commit is contained in:
parent
0eb27f5e9d
commit
cbd883dc6a
2 changed files with 0 additions and 5 deletions
|
|
@ -19,14 +19,11 @@ module RPG
|
|||
def self.load_bitmap(folder_name, filename, hue = 0)
|
||||
if ModLoader::IS_ENABLED
|
||||
if File.exist?("/mod-storage/" + folder_name + filename)
|
||||
print "test"
|
||||
path = Graphics.adapted_file("/mod-storage/" + folder_name + filename)
|
||||
else
|
||||
print "test2"
|
||||
path = Graphics.adapted_file(folder_name + filename)
|
||||
end
|
||||
else
|
||||
print "test3"
|
||||
path = Graphics.adapted_file(folder_name + filename)
|
||||
end
|
||||
if not @cache.include?(path) or @cache[path].disposed?
|
||||
|
|
|
|||
|
|
@ -23,8 +23,6 @@ begin
|
|||
#debug shit
|
||||
Input.set_led(255, 150, 30)
|
||||
|
||||
print Dir.entries(".")
|
||||
|
||||
# Load persistent data
|
||||
Persistent.load
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue