Allows traitor AI's to take direct control of turrets. (#36154)

* Allows traitor AI's to take direct control of turrets.

* Adds some icons
This commit is contained in:
AnturK
2018-03-17 07:53:01 -05:00
committed by CitadelStationBot
parent 13709a7d34
commit 80e046572f
7 changed files with 109 additions and 21 deletions
+4 -6
View File
@@ -10,9 +10,8 @@
Note that AI have no need for the adjacency proc, and so this proc is a lot cleaner.
*/
/mob/living/silicon/ai/DblClickOn(var/atom/A, params)
if(client.click_intercept)
if(call(client.click_intercept, "InterceptClickOn")(src, params, A))
return
if(check_click_intercept(params,A))
return
if(control_disabled || incapacitated())
return
@@ -27,9 +26,8 @@
return
next_click = world.time + 1
if(client.click_intercept)
if(call(client.click_intercept, "InterceptClickOn")(src, params, A))
return
if(check_click_intercept(params,A))
return
if(control_disabled || incapacitated())
return