Skip to content

Commit

Permalink
Allows non yaujta mobs to use hotkeys on yautja equipment (#7412)
Browse files Browse the repository at this point in the history
# About the pull request
 
Oversight in the addition to Yaujta buttons and hotkeys locked the
activation of things like mask zoom for humans to VERBS/BYOND MACROS
only ( this allows you to use hotkeys to activate things like toggle
mask zoom but still locks out every other pred activation as intended )

# Explain why it's good for the game

Byond macros suck and have been actively being replaced by hotkeys for
the last year.


# 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



🆑 lolvax1
fix: fixes oversight in addition of Yautja hotkeys
/🆑
  • Loading branch information
Strobia authored Oct 28, 2024
1 parent fa3457c commit 45db473
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/modules/cm_preds/yaut_actions.dm
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
mask = null

var/mob/living/carbon/human/mob = owner
if(!isyautja(mob))
if(!ishuman(mob))
return FALSE
if(mob.is_mob_incapacitated())
return FALSE
Expand Down

0 comments on commit 45db473

Please sign in to comment.