Browse Source

Actually sort Conditions alphabetically by name

master
The Stranjer 4 years ago
parent
commit
75b94f69fa
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      shards_of_power.rb

+ 1
- 1
shards_of_power.rb View File

@@ -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)


Loading…
Cancel
Save