From 8b63f2c91b92f33b8a5284959b7d5d6efb3b89da Mon Sep 17 00:00:00 2001 From: Sorrowfulwinds Date: Thu, 11 Dec 2025 23:50:15 -0600 Subject: [PATCH] Add clarifying parens in language.dm (#7426) ## About The Pull Request Spawns an OD compiler warning. Good for clarity and ensuring order of operations. ## Why It's Good For The Game Prevents order of operations bugs, makes code more clear to the unacquainted observer. ## Changelog :cl: fix: Add parens to clarify if statement in language.dm /:cl: --- code/modules/language/language.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/language/language.dm b/code/modules/language/language.dm index 4ee15172260..9b4dd8149d4 100644 --- a/code/modules/language/language.dm +++ b/code/modules/language/language.dm @@ -222,7 +222,7 @@ if(!vocal || vocal.is_broken() || vocal.mute) return FALSE - if(src.name in H.species.assisted_langs && !(src.name in H.species.intrinsic_languages)) + if((src.name in H.species.assisted_langs) && !(src.name in H.species.intrinsic_languages)) . = FALSE var/obj/item/organ/internal/voicebox/vox = locate() in H.internal_organs // Only voiceboxes for now. Maybe someday it'll include other organs, but I'm not that clever if(vox)