I left something out that isn’t important for this case but might be in the future for you. Go ahead and in the OnRep function, check that the health is at 0 before calling the death handler.
I left something out that isn’t important for this case but might be in the future for you. Go ahead and in the OnRep function, check that the health is at 0 before calling the death handler.