mirror of
https://forgejo.xatacraft.ru/Sunshine/mkxp-sunshine.git
synced 2026-08-19 21:39:57 +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)
|
def self.load_bitmap(folder_name, filename, hue = 0)
|
||||||
if ModLoader::IS_ENABLED
|
if ModLoader::IS_ENABLED
|
||||||
if File.exist?("/mod-storage/" + folder_name + filename)
|
if File.exist?("/mod-storage/" + folder_name + filename)
|
||||||
print "test"
|
|
||||||
path = Graphics.adapted_file("/mod-storage/" + folder_name + filename)
|
path = Graphics.adapted_file("/mod-storage/" + folder_name + filename)
|
||||||
else
|
else
|
||||||
print "test2"
|
|
||||||
path = Graphics.adapted_file(folder_name + filename)
|
path = Graphics.adapted_file(folder_name + filename)
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
print "test3"
|
|
||||||
path = Graphics.adapted_file(folder_name + filename)
|
path = Graphics.adapted_file(folder_name + filename)
|
||||||
end
|
end
|
||||||
if not @cache.include?(path) or @cache[path].disposed?
|
if not @cache.include?(path) or @cache[path].disposed?
|
||||||
|
|
|
||||||
|
|
@ -23,8 +23,6 @@ begin
|
||||||
#debug shit
|
#debug shit
|
||||||
Input.set_led(255, 150, 30)
|
Input.set_led(255, 150, 30)
|
||||||
|
|
||||||
print Dir.entries(".")
|
|
||||||
|
|
||||||
# Load persistent data
|
# Load persistent data
|
||||||
Persistent.load
|
Persistent.load
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue