Skip to content

Commit

Permalink
Fixes WJ Latejoin (#4185)
Browse files Browse the repository at this point in the history
# About the pull request
WJ latejoin - at least via ghost verb - wasn't using the latejoin
markers. Now it does.
<!-- 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
Do what say do.
# 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: Players joining as Working Joe after round start now spawn in
correct place.
/:cl:
  • Loading branch information
realforest2001 committed Aug 16, 2023
1 parent d1ce9d3 commit 1376b49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/game/gamemodes/cm_initialize.dm
Original file line number Diff line number Diff line change
Expand Up @@ -969,7 +969,7 @@ Additional game mode variables.
log_debug("Null client attempted to transform_joe")
return

var/turf/spawn_point = get_turf(pick(GLOB.latejoin))
var/turf/spawn_point = get_turf(pick(GLOB.latejoin_by_job[JOB_WORKING_JOE]))
var/mob/living/carbon/human/synthetic/new_joe = new(spawn_point)
joe_candidate.mind.transfer_to(new_joe, TRUE)
var/datum/job/joe_job = RoleAuthority.roles_by_name[JOB_WORKING_JOE]
Expand Down

0 comments on commit 1376b49

Please sign in to comment.