mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-14 00:23:29 +01:00
Apply suggestions from code review: Cleaner if statement
Co-authored-by: SabreML <57483089+SabreML@users.noreply.github.com>
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user