about summary refs log tree commit diff stats
path: root/app/models
diff options
context:
space:
mode:
Diffstat (limited to 'app/models')
-rw-r--r--app/models/pokeviewer/pokemon.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/pokeviewer/pokemon.rb b/app/models/pokeviewer/pokemon.rb index e493c66..7a1d088 100644 --- a/app/models/pokeviewer/pokemon.rb +++ b/app/models/pokeviewer/pokemon.rb
@@ -102,7 +102,7 @@ module Pokeviewer
102 end 102 end
103 103
104 def outsider? 104 def outsider?
105 (ot_name != trainer.name) or (ot_number != trainer.number) 105 (trainer.nil?) or (ot_name != trainer.name) or (ot_number != trainer.number)
106 end 106 end
107 107
108 def location 108 def location