Files
wwdpublic/Content.Shared/CCVar/CCVars.AutoVote.cs
2025-07-20 22:41:40 +10:00

17 lines
622 B
C#

using Robust.Shared.Configuration;
namespace Content.Shared.CCVar;
public sealed partial class CCVars
{
/// Automatically starts a map vote when returning to the lobby.
/// Requires auto voting to be enabled.
public static readonly CVarDef<bool> MapAutoVoteEnabled =
CVarDef.Create("vote.map_autovote_enabled", true, CVar.SERVERONLY);
/// Automatically starts a gamemode vote when returning to the lobby.
/// Requires auto voting to be enabled.
public static readonly CVarDef<bool> PresetAutoVoteEnabled =
CVarDef.Create("vote.preset_autovote_enabled", true, CVar.SERVERONLY);
}