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