mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-03-20 17:31:08 +00:00
allow the progs to signal whether they handled the info change or not
This commit is contained in:
parent
411d6517cb
commit
85c5594148
1 changed files with 2 additions and 1 deletions
|
@ -1257,7 +1257,8 @@ SV_SetInfo_f (void *unused)
|
|||
P_STRING (&sv_pr_state, 1) = PR_SetTempString (&sv_pr_state, value);
|
||||
PR_ExecuteProgram (&sv_pr_state, sv_funcs.UserInfoCallback);
|
||||
PR_PopFrame (&sv_pr_state);
|
||||
return;
|
||||
if (R_FLOAT (&sv_pr_state))
|
||||
return;
|
||||
}
|
||||
|
||||
SV_SetUserinfo (host_client, key, value);
|
||||
|
|
Loading…
Reference in a new issue