Skip to content

Commit

Permalink
Fix join as xeno observer alert text url (#4681)
Browse files Browse the repository at this point in the history
# About the pull request

This PR simply sets an argument for the join as xeno href that the hive
surge observer action provides in chat so the href topic will actually
respond to it if clicked.

# Explain why it's good for the game

Links to things should actually work.

# 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: Drathek
fix: Fixed the hive surge join as xeno observer alert text link not
actually doing anything.
/:cl:
  • Loading branch information
Drulikar authored Oct 15, 2023
1 parent 312598c commit 93cdb54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/modules/cm_aliens/structures/special/pylon_core.dm
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@
linked_hive.stored_larva++
linked_hive.hijack_burrowed_left--
if(GLOB.xeno_queue_candidate_count < 1 + count_spawned)
notify_ghosts(header = "Claim Xeno", message = "The Hive has gained another burrowed larva! Click to take it.", source = src, action = NOTIFY_JOIN_XENO, enter_link = "join_xeno")
notify_ghosts(header = "Claim Xeno", message = "The Hive has gained another burrowed larva! Click to take it.", source = src, action = NOTIFY_JOIN_XENO, enter_link = "join_xeno=1")
if(surge_cooldown > 30 SECONDS) //mostly for sanity purposes
surge_cooldown = surge_cooldown - surge_incremental_reduction //ramps up over time
if(linked_hive.hijack_burrowed_left < 1)
Expand Down

0 comments on commit 93cdb54

Please sign in to comment.