From b03955b08533c58e7dd58e77489f550ea9d73f96 Mon Sep 17 00:00:00 2001 From: Ghom <42542238+Ghommie@users.noreply.github.com> Date: Thu, 19 Mar 2020 05:26:38 +0100 Subject: [PATCH] Update dueling.dm --- code/modules/projectiles/guns/energy/dueling.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/modules/projectiles/guns/energy/dueling.dm b/code/modules/projectiles/guns/energy/dueling.dm index fcb035f586..7fa81f513f 100644 --- a/code/modules/projectiles/guns/energy/dueling.dm +++ b/code/modules/projectiles/guns/energy/dueling.dm @@ -35,7 +35,7 @@ if(gun_B) gun_B.duel = null gun_B = null - STOP_PROCESSING(SSobjs, duel) + STOP_PROCESSING(SSobj, src) . = ..() /datum/duel/proc/try_begin() @@ -58,7 +58,7 @@ START_PROCESSING(SSobj, src) /datum/duel/proc/get_duelist(obj/item/gun/energy/dueling/G) - var/mob/living/L = gun.loc + var/mob/living/L = G.loc if(!istype(L) || !L.is_holding(G)) return return L