From 08a969b6a2720cb588913bb6ffe3565a35b43b1c Mon Sep 17 00:00:00 2001 From: "giacomand@gmail.com" Date: Sun, 26 Aug 2012 04:53:29 +0000 Subject: [PATCH] -AI Eye won't show up in pull, examine or point to popout menus. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4549 316c924e-a436-60f5-8080-3fe189b3f50e --- .../mob/living/silicon/ai/freelook/eye.dm | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/code/modules/mob/living/silicon/ai/freelook/eye.dm b/code/modules/mob/living/silicon/ai/freelook/eye.dm index 0f6ae263cb..9a83b9963d 100644 --- a/code/modules/mob/living/silicon/ai/freelook/eye.dm +++ b/code/modules/mob/living/silicon/ai/freelook/eye.dm @@ -14,6 +14,22 @@ /mob/aiEye/Move() return 0 +// Hide popout menu verbs +/mob/aiEye/examine() + set popup_menu = 0 + set src = usr.contents + return 0 + +/mob/aiEye/pull() + set popup_menu = 0 + set src = usr.contents + return 0 + +/mob/aiEye/point() + set popup_menu = 0 + set src = usr.contents + return 0 + // Use this when setting the aiEye's location. // It will also stream the chunk that the new loc is in. @@ -29,7 +45,6 @@ /mob/living/silicon/ai/var/mob/aiEye/eyeobj = new() // Intiliaze the eye by assigning it's "ai" variable to us. Then set it's loc to us. - /mob/living/silicon/ai/New() ..() eyeobj.ai = src