As per kiddie-friendly rules, they had to not have the bullet kill Devil Ray but push him into an electrified panel that killed him. Somehow this unintentional death is better than the bullet accidentally killing him. Much like the censored version of Batman: Return of the Joker death.