implemented dead people leave on field feature