Ports "[s] Fixes pride mirror exploit"

This commit is contained in:
Ghommie
2019-06-19 03:31:36 +02:00
parent df9c4fd1f4
commit 55795355fd
13 changed files with 25 additions and 26 deletions
+1 -1
View File
@@ -171,7 +171,7 @@ GLOBAL_LIST_EMPTY(PDAs)
overlay.icon_state = "pai_off_overlay"
add_overlay(new /mutable_appearance(overlay))
/obj/item/pda/MouseDrop(obj/over_object, src_location, over_location)
/obj/item/pda/MouseDrop(mob/over, src_location, over_location)
var/mob/M = usr
if((M == over) && usr.canUseTopic(src, BE_CLOSE, FALSE, NO_TK))
return attack_self(M)