Reimplemented comparing edit times of PBS/data files to decide whether to compile

This commit is contained in:
Maruno17
2021-04-18 22:27:01 +01:00
parent 66ee5937bc
commit 3bde4d911a
2 changed files with 24 additions and 2 deletions

View File

@@ -774,7 +774,7 @@ module Compiler
#=============================================================================
def compile_shadow_movesets
sections = {}
if File.exists?("PBS/shadowmoves.txt")
if safeExists?("PBS/shadowmoves.txt")
pbCompilerEachCommentedLine("PBS/shadowmoves.txt") { |line, _line_no|
if line[/^\s*(\w+)\s*=\s*(.*)$/]
key = $1