Fixes bad operator precendence in robot...

...language checks, and removed universal_speak from robots.
This commit is contained in:
mwerezak
2014-05-17 15:18:36 -04:00
parent c0610c37bc
commit 7cacc02ae3
2 changed files with 2 additions and 3 deletions
@@ -5,8 +5,7 @@
icon_state = "robot"
maxHealth = 200
health = 200
universal_speak = 1
var/sight_mode = 0
var/custom_name = ""
var/custom_sprite = 0 //Due to all the sprites involved, a var for our custom borgs may be best
+1 -1
View File
@@ -133,7 +133,7 @@
//Silicon mob language procs
/mob/living/silicon/can_speak(datum/language/speaking)
return (universal_speak || speaking in src.speech_synthesizer_langs) //need speech synthesizer support to vocalize a language
return universal_speak || (speaking in src.speech_synthesizer_langs) //need speech synthesizer support to vocalize a language
/mob/living/silicon/add_language(var/language, var/can_speak=1)
if (..(language) && can_speak)