Changed the way deaths are processed with the leave command for better handling