Skip to content

Commit

Permalink
Fixes WO CO not being able to use the SG pamphlet (#8477)
Browse files Browse the repository at this point in the history
# About the pull request

fixes #8475


# Explain why it's good for the game

bugfix


# 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: WO commanding officer can now use the sg pamphlet
/:cl:

Co-authored-by: InsaneRed <[email protected]>
  • Loading branch information
Red-byte3D and InsaneRed authored Feb 15, 2025
1 parent 53ef906 commit be9bdf0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/game/objects/items/pamphlets.dm
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@
trait = /datum/character_trait/skills/cosmartgun

/obj/item/pamphlet/skill/cosmartgun/can_use(mob/living/carbon/human/user)
if(user.job != JOB_CO)
if(user.job != JOB_CO && user.job != JOB_WO_CO)
to_chat(user, SPAN_WARNING("Only the Commanding Officer can use this."))
return
return ..()
Expand Down

0 comments on commit be9bdf0

Please sign in to comment.