diff --git a/shards_of_power.rb b/shards_of_power.rb index 518744b..22368dd 100644 --- a/shards_of_power.rb +++ b/shards_of_power.rb @@ -94,7 +94,7 @@ class ShardsOfPower @spells = Spell.spells @conditions = Condition.conditions - @conditions.sort_by(&:name) + @conditions.sort_by!(&:name) puts "Creating PDF object..." @pdf = Prawn::Document.new(:margin => 0)