mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-31 00:58:26 +01:00
[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:
co-authored by
RandomGamer123
parent
6a35788c72
commit
0c2c95b037
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user