mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-23 13:18:09 +01:00
[MIRROR] Fixes leash tugging (#12782)
Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
co-authored by
Cameron Lennox
parent
9e956a1ac8
commit
e28618a0e1
@@ -127,7 +127,7 @@
|
||||
return TRUE
|
||||
var/mob/living/leash_pet = leash_pet_ref?.resolve()
|
||||
var/mob/living/leash_master = leash_master_ref?.resolve()
|
||||
if(!leash_pet || leash_master) //No pet, no tug.
|
||||
if(!leash_pet || !leash_master) //No pet, no tug.
|
||||
return
|
||||
if(leash_pet.absorbed) //Glrk'd.
|
||||
clear_leash()
|
||||
|
||||
Reference in New Issue
Block a user