Skip to content

Commit

Permalink
Fixes fortified defender headbutt (#5004)
Browse files Browse the repository at this point in the history
# About the pull request

Fixes #5003 

# Explain why it's good for the game


# 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 defender headbutt bug while fortified.
/:cl:
  • Loading branch information
Birdtalon committed Nov 24, 2023
1 parent 166d15d commit 14eed0a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
if(!check_and_use_plasma_owner())
return

if(fendy.fortify && !fendy.mutation_type == DEFENDER_STEELCREST)
if(fendy.fortify && !(fendy.mutation_type == DEFENDER_STEELCREST))
to_chat(fendy, SPAN_XENOWARNING("You cannot use headbutt while fortified."))
return

Expand Down

0 comments on commit 14eed0a

Please sign in to comment.