From 09e74e440617e6d13cb12b671d9be3ccdd1f16db Mon Sep 17 00:00:00 2001 From: ZomgPonies Date: Sun, 19 Jan 2014 07:16:56 -0500 Subject: [PATCH] AI SMES fix --- code/modules/power/smes.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/power/smes.dm b/code/modules/power/smes.dm index 72b4babb83e..d7aa2704ec5 100644 --- a/code/modules/power/smes.dm +++ b/code/modules/power/smes.dm @@ -230,7 +230,7 @@ //world << "[href] ; [href_list[href]]" - if (!istype(src.loc, /turf) || istype(usr, /mob/living/silicon/ai)) + if (!istype(src.loc, /turf) || !istype(usr, /mob/living/silicon/ai)) return 0 // Do not update ui if( href_list["cmode"] )