app/domain/observers/survivor_infection_observer.rb
# All inventory gets losed when survivor gets infected
All inventory gets losed when survivor gets infected
All inventory gets losed when survivor gets infected
def infect_inventory(survivor)
    return unless survivor.infected?
    survivor.items.each do |item|
      item.infected = true
    end
  end
def infect_inventory ( survivor ) return unless survivor . infected? survivor . items . each do | item | item . infected = true end end
All inventory gets losed when survivor gets infected
All inventory gets losed when survivor gets infected
survivor
<not_specific>