Fix for ace
This commit is contained in:
parent
541ffcd55b
commit
cba62b248a
1 changed files with 2 additions and 2 deletions
|
|
@ -4059,10 +4059,10 @@ def searchSystem(data, pbar):
|
|||
if pbar is not None:
|
||||
pbar.refresh()
|
||||
|
||||
# Equip Types - batch translate all
|
||||
# Equip Types - batch translate all (not present in RPG Maker Ace)
|
||||
equip_values = []
|
||||
equip_indices = []
|
||||
for i in range(len(data["equipTypes"])):
|
||||
for i in range(len(data.get("equipTypes", []) or [])):
|
||||
val = data["equipTypes"][i]
|
||||
# Skip if IGNORETLTEXT is enabled and no Japanese text
|
||||
if IGNORETLTEXT and (not val or not re.search(LANGREGEX, str(val))):
|
||||
|
|
|
|||
Loading…
Reference in a new issue