Expose vote methods for other mods

This commit is contained in:
Atony committed 2026-08-30 17:49:20 -05:00
1 parent d2f6ba9718
commit 027d4763f3
1 file changed
+2 -2
+2 -2
View File
@@ -121,7 +121,7 @@ public static class VotingUtils
CustomCastJudgeVote(srcPlayerId, suspectPlayerId, overruleNonce);
}
private static void CustomCastJudgeVote(PlayerId judgePlayerId, PlayerId targetPlayerId, ushort overruleNonce)
public static void CustomCastJudgeVote(PlayerId judgePlayerId, PlayerId targetPlayerId, ushort overruleNonce)
{
var plr = GameData.Instance.GetPlayerById(judgePlayerId.Value);
if (!plr) return;
@@ -181,7 +181,7 @@ public static class VotingUtils
CustomCastVote(srcPlayerId, suspectPlayerId);
}
private static void CustomCastVote(byte srcPlayerId, byte suspectPlayerId)
public static void CustomCastVote(byte srcPlayerId, byte suspectPlayerId)
{
var plr = GameData.Instance.GetPlayerById(srcPlayerId);
if (!plr) return;