Server: skip SV_RunClientCommand when our clients aren't fully initialized yet.

This commit is contained in:
Marco Cawthorne 2023-01-23 00:12:35 -08:00
parent 993c2a6ebc
commit 6aa3206d2b
Signed by: eukara
GPG Key ID: CE2032F0A2882A22
1 changed files with 3 additions and 0 deletions

View File

@ -249,6 +249,9 @@ SV_RunClientCommand(void)
{
NSClient cl = (NSClient)self;
if (self.classname != "player" && self.classname != "spectator")
return;
if (!Plugin_RunClientCommand()) {
/* TODO */
}