Closed DestroyedClone closed 2 years ago
Thank you for catching that! This will be built and uploaded in the next update which will probably be in a few weeks once it's ready.
As far as whether it works, I don't see why it wouldn't and I think it also should not cause problems regardless.
Replaced "return" with 'else' statement from "hook_OnPlayerCharacterDeath", preventing methods that run on it from running.
TeammateRevival hooks before the original method, then calls
return
at the end of marking a valid player as dead. I'm assuming thereturn
is to skip the death message in chat? Anyways, this doesn't callorig
, causing methods that hook afterOnPlayerCharacterDeath
to not run.https://github.com/NotTsunami/ShowDeathCause/blob/master/ShowDeathCause/ShowDeathCause.cs#L20-L24
Although, I'm not sure how well this performs as I only did a single cursory test