mirror of
https://github.com/All-Of-Us-Mods/MiraAPI.git
synced 2026-10-20 01:46:15 +00:00
Remove IsHideAndSeek
This commit is contained in:
1 parent
0cf4954eaf
commit
121baeb178
3 files changed
+2
-8
No files matched your search
@@ -31,7 +31,7 @@ public abstract class AbstractGameMode : IOptionable
|
||||
/// <summary>
|
||||
/// Gets the colored game mode name, using the color and name properties.
|
||||
/// </summary>
|
||||
public string ColoredName => $"<color=#{Color.ToHtmlStringRGBA()}>{Name}</color>";
|
||||
public string ColoredName => $"<color=#{this.Color.ToHtmlStringRGBA()}>{this.Name}</color>";
|
||||
|
||||
/// <summary>
|
||||
/// Gets the game mode id.
|
||||
@@ -43,11 +43,6 @@ public abstract class AbstractGameMode : IOptionable
|
||||
/// </summary>
|
||||
public virtual bool GameModeBodyTypeOverride => false;
|
||||
|
||||
/// <summary>
|
||||
/// Gets a value indicating whether the gamemode is based on Hide n Seek.
|
||||
/// </summary>
|
||||
public virtual bool IsHideAndSeek => false;
|
||||
|
||||
/// <summary>
|
||||
/// Gets a value indicating whether the gamemode removes the normal game settings.
|
||||
/// </summary>
|
||||
|
||||
@@ -33,7 +33,6 @@ public class HideAndSeekMode : AbstractGameMode
|
||||
public override bool ShouldShowSabotageMap(MapBehaviour map) => false;
|
||||
public override bool ShowGameModeIntroCutscene => true;
|
||||
public override bool GameModeBodyTypeOverride => true;
|
||||
public override bool IsHideAndSeek => true;
|
||||
public override bool ShowNormalGameSettings => false;
|
||||
|
||||
public static int ImpostorPlayerID()
|
||||
|
||||
@@ -22,7 +22,7 @@ internal static class GameManagerPatches
|
||||
{
|
||||
if (CustomGameModeManager.ActiveMode != null)
|
||||
{
|
||||
__result = CustomGameModeManager.ActiveMode.IsHideAndSeek;
|
||||
__result = CustomGameModeManager.ActiveMode is HideAndSeekMode;
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user