Two fixes

Double click made non-snowflake, cancel camera exploit patched
This commit is contained in:
Kelenius
2014-07-03 19:33:46 +04:00
parent d8ae776f64
commit 09f2699f42
3 changed files with 5 additions and 3 deletions
+3
View File
@@ -246,6 +246,9 @@ var/list/ai_list = list()
return
/mob/living/silicon/ai/cancel_camera()
src.view_core()
/mob/living/silicon/ai/verb/toggle_anchor()
set category = "AI Commands"
set name = "Toggle Floor Bolts"
@@ -61,7 +61,8 @@
var/mob/living/silicon/ai/AI = usr
if(AI.eyeobj && AI.client.eye == AI.eyeobj)
AI.cameraFollow = null
AI.eyeobj.setLoc(src)
if (src.loc)
AI.eyeobj.setLoc(src)
// This will move the AIEye. It will also cause lights near the eye to light up, if toggled.
// This is handled in the proc below this one.