]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/w_electro.qc
fix antispam of hitsounds; fix shotgun and electro refire times with weapon rate...
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / w_electro.qc
index 2a6b1f393e002814af9292f63042894e4c9cb9ef..13301a0f7325b3e8dc4cc54ad9e77288d19e431d 100644 (file)
@@ -426,7 +426,7 @@ float w_electro(float req)
                        W_Electro_Attack2();
                        self.electro_count = autocvar_g_balance_electro_secondary_count;
                        weapon_thinkf(WFRAME_FIRE2, autocvar_g_balance_electro_secondary_animtime, w_electro_checkattack);
-                       self.electro_secondarytime = time + autocvar_g_balance_electro_secondary_refire2;
+                       self.electro_secondarytime = time + autocvar_g_balance_electro_secondary_refire2 * W_WeaponRateFactor();
                }
        }
        else if (req == WR_PRECACHE)