ghosts can point again (#20617)

This commit is contained in:
Contrabang
2023-03-26 11:58:38 +01:00
committed by GitHub
parent c7bcb48093
commit b5f3b7442b
2 changed files with 13 additions and 4 deletions
+4
View File
@@ -4,6 +4,10 @@
// But we return here since we don't want to do regular dblclick handling
return
var/list/modifiers = params2list(params)
if(modifiers["middle"]) // Let ghosts point without teleporting
return
if(can_reenter_corpse && mind && mind.current)
if(A == mind.current || (mind.current in A)) // double click your corpse or whatever holds it
reenter_corpse() // (cloning scanner, body bag, closet, mech, etc)