From 2afa199b6bc5abd31a341430c85b988610df50fc Mon Sep 17 00:00:00 2001 From: chardub Date: Sat, 15 Mar 2025 14:52:46 -0400 Subject: [PATCH] don't recreate pbs when compiling if missing --- Data/Scripts/021_Compiler/001_Compiler.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Data/Scripts/021_Compiler/001_Compiler.rb b/Data/Scripts/021_Compiler/001_Compiler.rb index 83cda33be..dece21618 100644 --- a/Data/Scripts/021_Compiler/001_Compiler.rb +++ b/Data/Scripts/021_Compiler/001_Compiler.rb @@ -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