mirror of
https://git.code.sf.net/p/quake/prozac-qfcc
synced 2025-02-17 09:32:08 +00:00
Tweak the callback a bit, so setinfokey is called even for the default handler
This commit is contained in:
parent
b3078797aa
commit
ed6dcc443d
1 changed files with 8 additions and 0 deletions
|
@ -639,8 +639,16 @@ float(string key, string value) UserInfoCallback =
|
|||
// dprint ("[skin [" + self.netname + "](" + key + ")(" + value + ")(" + oldval + ")]\n");
|
||||
return 0;
|
||||
}
|
||||
/* else if (key == "name") // I have a hacky-poll to do this atm
|
||||
{
|
||||
self.netname = value;
|
||||
setinfokey (self, key, value);
|
||||
dprint ("[name [" + self.netname + "](" + key + ")(" + value + ")(" + oldval + ")]\n");
|
||||
return 1;
|
||||
} */
|
||||
else
|
||||
{
|
||||
setinfokey (self, key, value);
|
||||
// dprint ("[default [" + self.netname + "](" + key + ")(" + value + ")(" + oldval + ")]\n");
|
||||
return 1; // accept everything else
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue