ban-and-rename

This commit is contained in:
HyperAtill committed 2025-09-23 17:00:34 +03:00
1 parent e3752dac69
commit 6397b9846b
13 files changed
+375 -374

No files matched your search

+2 -2
View File
@@ -2072,9 +2072,9 @@ internal static class FixedUpdatePatch
{
if (Main.HasJustStarted || !player.IsAlive()) return;
if (Main.PlayerStates[player.PlayerId].Role is SabotageMaster sm)
if (Main.PlayerStates[player.PlayerId].Role is Mechanic sm)
{
sm.UsedSkillCount -= SabotageMaster.AbilityChargesWhenFinishedTasks.GetFloat();
sm.UsedSkillCount -= Mechanic.AbilityChargesWhenFinishedTasks.GetFloat();
sm.SendRPC();
}
else