mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-06 06:01:46 +00:00
don't recreate pbs when compiling if missing
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user