From 669d5765e6cb5fd844496dfbd0469902c3332597 Mon Sep 17 00:00:00 2001
From: XtraCube <72575280+XtraCube@users.noreply.github.com>
Date: Fri, 28 Feb 2025 10:14:24 -0500
Subject: [PATCH] add winner info to verify condition in gameover
---
MiraAPI/GameEnd/CustomGameOver.cs | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/MiraAPI/GameEnd/CustomGameOver.cs b/MiraAPI/GameEnd/CustomGameOver.cs
index 44c225a..70d7b27 100644
--- a/MiraAPI/GameEnd/CustomGameOver.cs
+++ b/MiraAPI/GameEnd/CustomGameOver.cs
@@ -18,8 +18,9 @@ public abstract class CustomGameOver
/// Verifies if the condition for this CustomGameOver is met.
///
/// The PlayerControl that requested the Game Over.
+ /// The collection of winners.
/// True if the condition is met, otherwise false.
- public virtual bool VerifyCondition(PlayerControl playerControl)
+ public virtual bool VerifyCondition(PlayerControl playerControl, NetworkedPlayerInfo[] winners)
{
return true;
}