Fixes AI's being unable to call shuttle using comm console. (#38534)

* Fixes AI's being unable to call shuttle using comm console.

* Lets get rid of double negatives

* viewvers for
This commit is contained in:
AnturK
2018-06-20 19:39:17 -05:00
committed by letterjay
parent 7cb838b4cf
commit 5e156e7a07
2 changed files with 16 additions and 12 deletions
@@ -45,8 +45,9 @@
/obj/machinery/computer/communications/process()
if(..())
if(state != STATE_STATUSDISPLAY && state != STATE_CALLSHUTTLE && state != STATE_PURCHASE && state != STATE_VIEWMESSAGE)
updateDialog()
var/ai_autoupdate = aistate != STATE_STATUSDISPLAY && aistate != STATE_CALLSHUTTLE && aistate != STATE_PURCHASE && aistate != STATE_VIEWMESSAGE
var/machine_user_autoupdate = state != STATE_STATUSDISPLAY && state != STATE_CALLSHUTTLE && state != STATE_PURCHASE && state != STATE_VIEWMESSAGE
updateDialog(machine_user_autoupdate,ai_autoupdate)
/obj/machinery/computer/communications/Topic(href, href_list)
if(..())