Fixed the species editor crashing when trying to edit abilities

This commit is contained in:
Maruno17
2020-11-01 20:34:27 +00:00
parent 213347b938
commit 531a1c09e3
3 changed files with 18 additions and 14 deletions

View File

@@ -73,7 +73,9 @@ class Data
end
def self.each
DATA.keys.sort.each do |key|
keys = DATA.keys
keys.sort! { |a, b| a.to_s <=> b.to_s }
keys.each do |key|
yield DATA[key] if key.is_a?(Symbol)
end
end