mirror of
https://github.com/CHOMPstation/CHOMPstation.git
synced 2026-08-26 13:36:48 +01:00
Fixes bad operator precendence in robot...
...language checks, and removed universal_speak from robots.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user