Skip to content

Commit

Permalink
Fixes Yautja bracer lock (#5282)
Browse files Browse the repository at this point in the history
# About the pull request
Preds can now unlock thrall bracers again. Whoops.
<!-- Remove this text and explain what the purpose of your PR is.

Mention if you have tested your changes. If you changed a map, make sure
you used the mapmerge tool.
If this is an Issue Correction, you can type "Fixes Issue #169420" to
link the PR to the corresponding Issue number #169420.

Remember: something that is self-evident to you might not be to others.
Explain your rationale fully, even if you feel it goes without saying.
-->

# Explain why it's good for the game
I stoopid
# Testing Photographs and Procedure
<details>
<summary>Screenshots & Videos</summary>

Put screenshots and videos here with an empty line between the
screenshots and the `<details>` tags.

</details>


# Changelog
:cl:
fix: Yautja bracer lock can now properly unlock thrall bracers.
/:cl:
  • Loading branch information
realforest2001 committed Dec 25, 2023
1 parent 6a69abd commit caa0343
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/modules/cm_preds/yaut_bracers.dm
Original file line number Diff line number Diff line change
Expand Up @@ -1148,7 +1148,7 @@
return TRUE

var/mob/living/carbon/human/victim = held_mob.grabbed_thing
var/obj/item/clothing/gloves/yautja/hunter/bracer = victim.gloves
var/obj/item/clothing/gloves/yautja/bracer = victim.gloves
if(isspeciesyautja(victim) && !(victim.stat == DEAD))
to_chat(user, SPAN_WARNING("You cannot unlock the bracer of a living hunter!"))
return FALSE
Expand Down

0 comments on commit caa0343

Please sign in to comment.