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
|
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
|
||||||
|
|||||||
Reference in New Issue
Block a user