Merge pull request #14873 from timothyteakettle/vore

vore href exploit fix
This commit is contained in:
Lin
2021-06-20 16:25:23 -07:00
committed by GitHub
+2
View File
@@ -276,6 +276,8 @@
if(href_list["outsidepick"])
var/atom/movable/tgt = locate(href_list["outsidepick"])
var/obj/belly/OB = locate(href_list["outsidebelly"])
if(!istype(OB))
return
if(!(tgt in OB)) //Aren't here anymore, need to update menu.
return TRUE
var/intent = "Examine"