]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commit
dedicated server: don't register client-only cvars
authorbones_was_here <bones_was_here@xonotic.au>
Mon, 17 Jul 2023 15:26:12 +0000 (01:26 +1000)
committerbones_was_here <bones_was_here@xonotic.au>
Mon, 17 Jul 2023 16:24:20 +0000 (02:24 +1000)
commit3a58ad52e63635c93e95955f984fd6052156e56b
tree72d00636287c2fc540fbbd93dabee0bc740e22f8
parent5b815920a001de04c6f17caf512814f9914375b5
dedicated server: don't register client-only cvars

Fixes random client cvars like r_trippy and cl_netpacketloss_send
appearing in the server.

Adds a warn (instead of crashing) for if we try to set an unregistered
engine cvar somewhere.
cmd.h
cvar.c
fs.c
host.c
sv_main.c