mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-11 15:47:55 +00:00
engine: server: clean up userinfo and fullupdate throttle on client connect
This commit is contained in:
parent
240563cd1b
commit
e2424b4303
@ -453,6 +453,11 @@ static void SV_ConnectClient( netadr_t from )
|
||||
|
||||
// parse some info from the info strings (this can override cl_updaterate)
|
||||
Q_strncpy( newcl->userinfo, userinfo, sizeof( newcl->userinfo ));
|
||||
newcl->fullupdate_next_calltime = 0;
|
||||
newcl->userinfo_next_changetime = 0;
|
||||
newcl->userinfo_penalty = 0;
|
||||
newcl->userinfo_change_attempts = 0;
|
||||
|
||||
SV_UserinfoChanged( newcl );
|
||||
SV_ClearResourceLists( newcl );
|
||||
#if 0
|
||||
|
Loading…
Reference in New Issue
Block a user