Fix confirm ejects

This commit is contained in:
ang-xd committed 2025-04-06 19:52:47 -04:00
1 parent 531a799a24
commit a6d55ec90f
1 file changed
+1 -1
+1 -1
View File
@@ -27,7 +27,7 @@ internal static class EjectionPatches
return;
}
if (role.GetCustomEjectionMessage(__instance.initData.networkedPlayer) == null)
if (!GameManager.Instance.LogicOptions.GetConfirmImpostor() || role.GetCustomEjectionMessage(__instance.initData.networkedPlayer) == null)
{
return;
}