Skip to content
Snippets Groups Projects
Commit 4109f716 authored by Logan Aerl Arias's avatar Logan Aerl Arias
Browse files

Merge branch 'fix-motd-not-being-sent' into 'next'

Fix MOTD not being sent to players on first join

Closes #1194

See merge request STJr/SRB2!2317
parents 585ec075 88bdc3e4
Branches
No related tags found
No related merge requests found
......@@ -620,7 +620,7 @@ static void Command_CSay_f(void)
DoSayCommand(0, 1, HU_CSAY);
}
static tic_t spam_tokens[MAXPLAYERS];
static tic_t spam_tokens[MAXPLAYERS] = { 1 }; // fill the buffer with 1 so the motd can be sent.
static tic_t spam_tics[MAXPLAYERS];
/** Receives a message, processing an ::XD_SAY command.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment