mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-12 11:13:16 +00:00
Merge pull request #10560 from PsiOmegaDelta/150812-CorrectTypeCheck
Prevents APC wires from being displayed to the AI.
This commit is contained in:
@@ -738,7 +738,7 @@
|
|||||||
if(!user)
|
if(!user)
|
||||||
return
|
return
|
||||||
|
|
||||||
if(wiresexposed /*&& (!istype(user, /mob/living/silicon))*/) //Commented out the typecheck to allow engiborgs to repair damaged apcs.
|
if(wiresexposed && !istype(user, /mob/living/silicon/ai))
|
||||||
wires.Interact(user)
|
wires.Interact(user)
|
||||||
|
|
||||||
return ui_interact(user)
|
return ui_interact(user)
|
||||||
|
|||||||
Reference in New Issue
Block a user