Skip to content

Commit

Permalink
Fixes boilers slowing themselves (#6177)
Browse files Browse the repository at this point in the history
# About the pull request
Fixes a bug where boilers would slow themselves by using using toggle
long-range sight when resting
<!-- 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
Bugs are bad
# 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: Fixes boilers slowing themselves by using long range sight while
resting.
/:cl:

---------

Co-authored-by: fira <[email protected]>
  • Loading branch information
Git-Nivrak and fira authored Apr 23, 2024
1 parent cb9f894 commit c7269ab
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,9 @@
/datum/action/xeno_action/onclick/toggle_long_range/use_ability(atom/target)
var/mob/living/carbon/xenomorph/xeno = owner

if (!xeno.check_state())
return

if(xeno.observed_xeno)
return

Expand Down

0 comments on commit c7269ab

Please sign in to comment.