From dbf0218371ce006b674b0ede8e6a4d97932ff2c6 Mon Sep 17 00:00:00 2001 From: Leonardo Bishop Date: Tue, 1 Aug 2023 01:31:25 +0100 Subject: Add footprints --- code/Game.cs | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'code/Game.cs') diff --git a/code/Game.cs b/code/Game.cs index ad04fc8..356cd38 100644 --- a/code/Game.cs +++ b/code/Game.cs @@ -23,14 +23,17 @@ public partial class MurderGame : Sandbox.GameManager } - [ConVar.Server( "mm_min_players", Help = "The minimum number of players required to start a round." )] + [ConVar.Server( "mu_min_players", Help = "The minimum number of players required to start a round." )] public static int MinPlayers { get; set; } = 2; - [ConVar.Server( "mm_allow_suicide", Help = "Allow players to kill themselves during a round." )] + [ConVar.Server( "mu_allow_suicide", Help = "[INOP] Allow players to kill themselves during a round." )] public static bool AllowSuicide { get; set; } = true; - [ConVar.Server( "mm_round_time", Help = "The amount of time in a round." )] + [ConVar.Server( "mu_round_time", Help = "The amount of time, in seconds, in a round." )] public static int RoundTime { get; set; } = 600; + + [ConVar.Client( "mu_max_footprint_time", Help = "The amount of time, in seconds, footprints are visible for. Max 30 seconds." )] + public static int MaxFootprintTime { get; set; } = 30; [Net] public BasePhase CurrentPhase { get; set; } = new WaitPhase() { CountIn = true }; -- cgit v1.2.3-70-g09d2