From: Mario Date: Sat, 12 Mar 2016 06:34:50 +0000 (+1000) Subject: Increase the weapon cvar update interval to 5 seconds (reduces CPU load a bit) X-Git-Tag: xonotic-v0.8.2~1120 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=03e14bb488e3abd1cdd8e55483aead092df22934;p=xonotic%2Fxonotic-data.pk3dir.git Increase the weapon cvar update interval to 5 seconds (reduces CPU load a bit) --- diff --git a/qcsrc/common/weapons/all.qh b/qcsrc/common/weapons/all.qh index 6429ff899..045651539 100644 --- a/qcsrc/common/weapons/all.qh +++ b/qcsrc/common/weapons/all.qh @@ -95,7 +95,7 @@ GENERIC_COMMAND(dumpweapons, "Dump all weapons into weapons_dump.txt") // WEAPON #ifdef SVQC entity W_PROP_reloader; -float autocvar_w_prop_interval = 0; +float autocvar_w_prop_interval = 5; .void(Weapon this, int) wr_net; void W_PROP_reload(int chan, entity to) {