# File lib/core/room.rb, line 71 def leave(e) ch = get_object(e.from) characters(e.from).each do |x| add_event(id,x.id,:show, ch.name + " has left #{e.msg}.") if x.account end # remove character delete_contents(ch.id) ch.location = nil add_event(id,exits[e.msg],:arrive,ch.id) end