diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/models/monster_spawn_combat.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/monster_spawn_combat.rb b/app/models/monster_spawn_combat.rb index 8dbd8e8..f15f339 100644 --- a/app/models/monster_spawn_combat.rb +++ b/app/models/monster_spawn_combat.rb @@ -27,7 +27,7 @@ class MonsterSpawnCombat < ApplicationRecord message_body_parts[character.id].push("You got #{total_xp} #{Skill.find_by_gid(data[:gid]).name} XP") end when "item" - return if rand > (data[:chance] || 1) + next if rand > (data[:chance] || 1) if data[:table] table_roll = rand |