[MIRROR] Fix reinforcement nukeops not getting their HUDs [MDB IGNORE] (#14553)

* Fix reinforcement nukeops not getting their HUDs (#67976)

* Fix reinforcement nukeops not getting their HUDs

Co-authored-by: RandomGamer123 <31096837+RandomGamer123@users.noreply.github.com>
This commit is contained in:
SkyratBot
2022-06-27 02:15:04 +01:00
committed by GitHub
co-authored by RandomGamer123
parent 6a35788c72
commit 0c2c95b037
2 changed files with 5 additions and 1 deletions
@@ -145,6 +145,10 @@
C.prefs.safe_transfer_prefs_to(nukie, is_antag = TRUE)
nukie.ckey = C.key
var/datum/mind/op_mind = nukie.mind
if(length(GLOB.newplayer_start)) // needed as hud code doesn't render huds if the atom (in this case the nukie) is in nullspace, so just move the nukie somewhere safe
nukie.forceMove(pick(GLOB.newplayer_start))
else
nukie.forceMove(locate(1,1,1))
antag_datum = new()
antag_datum.send_to_spawnpoint = FALSE
+1 -1
View File
@@ -581,7 +581,7 @@
if(!isnull(E.lighting_alpha))
lighting_alpha = E.lighting_alpha
if(client.eye != src)
if(client.eye && client.eye != src)
var/atom/A = client.eye
if(A.update_remote_sight(src)) //returns 1 if we override all other sight updates.
return