mirror of
https://github.com/All-Of-Us-Mods/MiraAPI.git
synced 2026-10-20 01:46:15 +00:00
12 lines
355 B
C#
12 lines
355 B
C#
/*
|
|
[HarmonyPatch(typeof(KillAnimation))]
|
|
public static class OnDeathPatch
|
|
{
|
|
[HarmonyPostfix]
|
|
[HarmonyPatch(nameof(KillAnimation.CoPerformKill))]
|
|
public static void OnDeathPostfix([HarmonyArgument(0)] PlayerControl source, [HarmonyArgument(1)] PlayerControl target)
|
|
{
|
|
CustomGameModeManager.ActiveMode?.OnDeath(target);
|
|
}
|
|
}*/
|