This commit is contained in:
BotoX 2019-08-01 17:50:09 +02:00
parent e4bc7ce0bb
commit 40f6b8679d
2 changed files with 2 additions and 2 deletions

View File

@ -1219,7 +1219,7 @@ void ConnectEvents::FireGameEvent(IGameEvent *event)
{
const int userid = event->GetInt("userid");
const int client = g_UserIDtoClientMap[userid];
g_UserIDtoClientMap[client] = 0;
g_UserIDtoClientMap[userid] = 0;
g_pSM->LogMessage(myself, "player_disconnect(userid=%d, client=%d)", userid, client);

View File

@ -40,7 +40,7 @@
/* Basic information exposed publicly */
#define SMEXT_CONF_NAME "Connect"
#define SMEXT_CONF_DESCRIPTION "Forward for early connection"
#define SMEXT_CONF_VERSION "2.4"
#define SMEXT_CONF_VERSION "2.5-SANITY-CHECK"
#define SMEXT_CONF_AUTHOR "Asher \"asherkin\" Baker + BotoX"
#define SMEXT_CONF_URL "https://github.com/CSSZombieEscape/sm-ext-connect"
#define SMEXT_CONF_LOGTAG "CONNECT"