From 911ba343ce6cd93eae510446573f55ddad033a46 Mon Sep 17 00:00:00 2001 From: Maruno17 Date: Tue, 11 May 2021 20:12:36 +0100 Subject: [PATCH] Fixed prevolution data not being compiled properly --- Data/Scripts/021_Compiler/002_Compiler_CompilePBS.rb | 2 -- 1 file changed, 2 deletions(-) diff --git a/Data/Scripts/021_Compiler/002_Compiler_CompilePBS.rb b/Data/Scripts/021_Compiler/002_Compiler_CompilePBS.rb index ab0789fd2..236c46f34 100644 --- a/Data/Scripts/021_Compiler/002_Compiler_CompilePBS.rb +++ b/Data/Scripts/021_Compiler/002_Compiler_CompilePBS.rb @@ -520,7 +520,6 @@ module Compiler # Add prevolution "evolution" entry for all evolved species all_evos = {} GameData::Species.each do |species| # Build a hash of prevolutions for each species - next if all_evos[species.species] species.evolutions.each do |evo| all_evos[evo[0]] = [species.species, evo[1], evo[2], true] if !all_evos[evo[0]] end @@ -716,7 +715,6 @@ module Compiler # own evolution methods (and thus won't have a prevolution listed already) all_evos = {} GameData::Species.each do |species| # Build a hash of prevolutions for each species - next if all_evos[species.species] species.evolutions.each do |evo| all_evos[evo[0]] = [species.species, evo[1], evo[2], true] if !evo[3] && !all_evos[evo[0]] end