mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-12 23:53:47 +01:00
Fixes agent IDs not working when you are put into a different body (#21784)
* needs testing * okay this works * pinpointer fix * Steelslayer review * my bad, sorry
This commit is contained in:
@@ -39,10 +39,10 @@
|
||||
|
||||
/obj/item/pinpointer/crew/contractor/attack_self(mob/living/user)
|
||||
if(owner)
|
||||
if(owner != user)
|
||||
if(owner != user.mind.current)
|
||||
to_chat(user, "<span class='warning'>[src] refuses to do anything.</span>")
|
||||
return
|
||||
else
|
||||
owner = user
|
||||
owner = user.mind.current
|
||||
to_chat(user, "<span class='notice'>[src] now recognizes you as its sole user.</span>")
|
||||
return ..()
|
||||
|
||||
Reference in New Issue
Block a user