From 3960e0b3f2b5902a6697efbbca34daf50e2f9d88 Mon Sep 17 00:00:00 2001 From: Martin Taibr Date: Thu, 16 Jan 2020 14:51:38 +0100 Subject: [PATCH] fix read from deleted entity --- qcsrc/common/weapons/weapon/electro.qc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/qcsrc/common/weapons/weapon/electro.qc b/qcsrc/common/weapons/weapon/electro.qc index 85f2df77a..f7ac37287 100644 --- a/qcsrc/common/weapons/weapon/electro.qc +++ b/qcsrc/common/weapons/weapon/electro.qc @@ -160,7 +160,8 @@ void W_Electro_Bolt_Think(entity this) e.classname = "electro_orb_chain"; // explode first orb immediately, other orbs will chain with delay - W_Electro_ExplodeCombo(e); + setthink(e, W_Electro_ExplodeCombo); + e.nextthink = time; ++found; } -- 2.39.2