Updated the logic so pacman dies correctly all the time now

Yay death to pacman! :)