From: Mario Date: Sat, 26 Nov 2022 03:08:24 +0000 (+1000) Subject: Fall back to the regular Electro combo effect if the new effect doesn't exist, instea... X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=a7432cf9e6726c4123fb41b68c47182fd5cb894e;p=xonotic%2Fxonotic-data.pk3dir.git Fall back to the regular Electro combo effect if the new effect doesn't exist, instead of the ultra bright hookbomb effect --- diff --git a/qcsrc/common/weapons/weapon/electro.qc b/qcsrc/common/weapons/weapon/electro.qc index 5a9fa2888..9e0e39d85 100644 --- a/qcsrc/common/weapons/weapon/electro.qc +++ b/qcsrc/common/weapons/weapon/electro.qc @@ -676,7 +676,7 @@ METHOD(Electro, wr_impacteffect, void(entity thiswep, entity actor)) if(particleeffectnum(EFFECT_ELECTRO_COMBO_LONG) >= 0) pointparticles(EFFECT_ELECTRO_COMBO_LONG, org2, '0 0 0', 1); else - pointparticles(EFFECT_HOOK_EXPLODE, org2, '0 0 0', 1); + pointparticles(EFFECT_ELECTRO_COMBO, org2, '0 0 0', 1); if(!w_issilent) sound(actor, CH_SHOTS, SND_ELECTRO_IMPACT_COMBO, VOL_BASE, ATTEN_NORM); }