diff --git a/Exiled.API/Features/Round.cs b/Exiled.API/Features/Round.cs index 11e44049a9..f4136ff520 100644 --- a/Exiled.API/Features/Round.cs +++ b/Exiled.API/Features/Round.cs @@ -15,7 +15,7 @@ namespace Exiled.API.Features using GameCore; using PlayerRoles; - + using PluginAPI.Core; using RoundRestarting; /// @@ -61,6 +61,15 @@ public static class Round /// public static bool IsLobby => !(IsEnded || IsStarted); + /// + /// Gets or sets a value indicating the amount of Chaos Targets remaining. + /// + public static int ChaosTargetCount + { + get => RoundSummary.singleton.ChaosTargetCount; + set => RoundSummary.singleton.ChaosTargetCount = value; + } + /// /// Gets or sets a value indicating whether the round is locked or not. /// @@ -240,4 +249,4 @@ public static bool EndRound(bool forceEnd = false) /// public static void Start() => CharacterClassManager.ForceRoundStart(); } -} \ No newline at end of file +}