X-Git-Url: https://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=qcsrc%2Fcommon%2Fmutators%2Fmutator%2Ftouchexplode%2Ftouchexplode.qc;h=c585e7e9061872460920bc0ea3f6fc660c8ff374;hp=67e14403c5cfea8d47eda8c705cbf975d6c83e56;hb=a3a484a54551f0208b6cf1e92bb7e5a3ee1a72f3;hpb=3220cab5a7b69ced4a641504a6a5f4eccf2d3bfc diff --git a/qcsrc/common/mutators/mutator/touchexplode/touchexplode.qc b/qcsrc/common/mutators/mutator/touchexplode/touchexplode.qc index 67e14403c..c585e7e90 100644 --- a/qcsrc/common/mutators/mutator/touchexplode/touchexplode.qc +++ b/qcsrc/common/mutators/mutator/touchexplode/touchexplode.qc @@ -19,7 +19,7 @@ void PlayerTouchExplode(entity p1, entity p2) entity e = spawn(); setorigin(e, org); RadiusDamage(e, NULL, autocvar_g_touchexplode_damage, autocvar_g_touchexplode_edgedamage, autocvar_g_touchexplode_radius, NULL, NULL, autocvar_g_touchexplode_force, DEATH_TOUCHEXPLODE.m_id, NULL); - remove(e); + delete(e); } MUTATOR_HOOKFUNCTION(touchexplode, PlayerPreThink)