Commit 64e926c5 authored by NuriYuri's avatar NuriYuri
Browse files

Fix auto text compilation to CSV

parent 76e24aba
......@@ -166,7 +166,7 @@ module GameData
File.mtime("Data/Text/Dialogs/#{CSV_BASE}.#{langs.first}.dat") < File.mtime("Data/Text/#{langs.first}.dat")
langs << PSDK_CONFIG.default_language_code if langs.empty?
log_debug('Updating Text files')
filename = 'plugins/text2csv' # Just to avoid the warning
filename = './plugins/text2csv' # Just to avoid the warning
require filename
Available_Langs.clear
Available_Langs.concat(langs)
......
......@@ -50,8 +50,7 @@ module Battle
# Create all the sprites
create_graphics
create_battle_animation_handler
# Remove the viewport.sort_z line when LiteRGSS2 will be out
@viewport.sort_z
@viewport&.sort_z
end
# Safe to_s & inspect
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment