Skip to content

Commit

Permalink
check should not fail....
Browse files Browse the repository at this point in the history
  • Loading branch information
AndroBetel committed Feb 8, 2024
1 parent e29f100 commit 54220f7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion code/game/jobs/job/marine/squad/smartgunner.dm
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,5 @@ AddTimelock(/datum/job/marine/smartgunner, list(
job = JOB_SQUAD_SMARTGUN_UPP
squad = SQUAD_UPP


#undef LCPL_VARIANT
#undef CPL_VARIANT
4 changes: 2 additions & 2 deletions code/modules/mob/living/carbon/human/emote.dm
Original file line number Diff line number Diff line change
Expand Up @@ -361,12 +361,12 @@
/datum/emote/living/carbon/human/warcry/get_sound(mob/living/carbon/human/user)
if(ishumansynth_strict(user))
if(user.gender == MALE)
if(user.faction == FACTION_UPP || user.job in ROLES_AI_UPP)
if(user.faction == FACTION_UPP || (user.job in ROLES_AI_UPP))
return get_sfx("male_upp_warcry")
else
return get_sfx("male_warcry")
else
if(user.faction == FACTION_UPP || user.job in ROLES_AI_UPP)
if(user.faction == FACTION_UPP || (user.job in ROLES_AI_UPP))
return get_sfx("female_upp_warcry")
else
return get_sfx("female_warcry")
Expand Down

0 comments on commit 54220f7

Please sign in to comment.