Skip to content

Commit

Permalink
Fixes being able to see Command helmet cams from the groundside opera…
Browse files Browse the repository at this point in the history
…tions console. (#6406)

# About the pull request

Missed a sanity check in the console when adding this, oops.

# 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: Command can now access the helmet cameras of any deploying command
staff
/:cl:
  • Loading branch information
TheGamerdk committed Jun 12, 2024
1 parent b42e5fb commit 4016502
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/game/machinery/computer/groundside_operations.dm
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@

//returns the helmet camera the human is wearing
/obj/structure/machinery/computer/groundside_operations/proc/get_camera_from_target(mob/living/carbon/human/H)
if(current_squad)
if(current_squad || show_command_squad)
if(H && istype(H) && istype(H.head, /obj/item/clothing/head/helmet/marine))
var/obj/item/clothing/head/helmet/marine/helm = H.head
return helm.camera
Expand Down

0 comments on commit 4016502

Please sign in to comment.