Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion src/scrimblo.sp
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,13 @@
#pragma semicolon 1
#pragma newdecls required

#define PLUGIN_VERSION "0.1.0"

public Plugin myinfo = {
name = "Scrimblo",
author = "VIORA",
description = "A better implementation of the scrambling algorithm",
version = "0.1.0",
version = PLUGIN_VERSION,
url = "https://github.com/crescentrose/tf2-scrimblo"
};

Expand Down Expand Up @@ -105,6 +107,7 @@ PlayerList g_playerList;
Handle g_scoreUpdateTimer;

public void OnPluginStart() {
CreateConVar("scrimblo_version", PLUGIN_VERSION, "Scrimblo version", FCVAR_DONTRECORD);
RegAdminCmd("sm_scrimblo", Command_Scramble, ADMFLAG_VOTE, "Scramble the teams");
g_cvarRestartGame = FindConVar("mp_restartgame_immediate");
g_playerList = new PlayerList();
Expand Down