don't recreate pbs when compiling if missing

This commit is contained in:
chardub
2025-03-15 14:52:46 -04:00
parent bab284c503
commit 2afa199b6b

View File

@@ -739,7 +739,6 @@ module Compiler
def main
#return
return if !$DEBUG
begin
dataFiles = [
@@ -793,9 +792,10 @@ module Compiler
mustCompile |= import_new_maps
# If no PBS file, create one and fill it, then recompile
if !safeIsDirectory?("PBS")
Dir.mkdir("PBS") rescue nil
write_all
mustCompile = true
return
# Dir.mkdir("PBS") rescue nil
# write_all
# mustCompile = true
end
# Check data files and PBS files, and recompile if any PBS file was edited
# more recently than the data files were last created