Fixed PBS files not being recovered properly if playing in Debug mode without a PBS folder

This commit is contained in:
Maruno17
2022-06-13 20:15:47 +01:00
parent cdc82b6e65
commit aec0215442

View File

@@ -851,6 +851,7 @@ module Compiler
# If no PBS file, create one and fill it, then recompile
if !safeIsDirectory?("PBS")
Dir.mkdir("PBS") rescue nil
GameData.load_all
write_all
mustCompile = true
end