engine: server: added singleplayer check for userinfo update
This commit is contained in:
parent
a87f399e68
commit
5216cccef4
1 changed files with 3 additions and 0 deletions
|
@ -1772,6 +1772,9 @@ static qboolean SV_ShouldUpdateUserinfo( sv_client_t *cl )
|
|||
if( FBitSet( cl->flags, FCL_FAKECLIENT ))
|
||||
return allow;
|
||||
|
||||
if( Host_IsLocalGame( ))
|
||||
return allow;
|
||||
|
||||
// start from 1 second
|
||||
if( !cl->userinfo_penalty )
|
||||
cl->userinfo_penalty = sv_userinfo_penalty_time.value;
|
||||
|
|
Loading…
Add table
Reference in a new issue