Apply suggestions from code review: Cleaner if statement

Co-authored-by: SabreML <57483089+SabreML@users.noreply.github.com>
This commit is contained in:
Stokes52
2021-05-26 13:00:14 -07:00
parent 8f1e2344fa
commit 995fe5877e
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -348,7 +348,7 @@
user.real_name = originalname
/obj/item/clothing/mask/horsehead/change_speech_verb()
if (voicechange == TRUE)
if(voicechange)
return pick("whinnies", "neighs", "says")
/obj/item/clothing/mask/face
@@ -40,5 +40,5 @@
chameleon_action.emp_randomise()
/obj/item/clothing/mask/gas/voice_modulator/change_speech_verb()
if (voice_modulator.active)
if(voice_modulator.active)
return pick("modulates", "drones", "hums", "buzzes")