mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-11 15:47:55 +00:00
engine: server: added singleplayer check for userinfo update
This commit is contained in:
parent
a87f399e68
commit
5216cccef4
@ -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…
Reference in New Issue
Block a user