mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-17 19:14:15 +01:00
Fixes adding antag huds to newplayers. (#46555)
This commit is contained in:
@@ -20,9 +20,11 @@
|
||||
CRASH("join_hud(): [M] ([M.type]) is not a mob!")
|
||||
if(mind_hud) //note: please let this runtime if a mob has no mind, as mindless mobs shouldn't be getting antagged
|
||||
mind_hud.leave_hud(M)
|
||||
add_to_hud(M)
|
||||
if(self_visible)
|
||||
add_hud_to(M)
|
||||
|
||||
if(ANTAG_HUD in M.hud_possible) //Current mob does not support antag huds ie newplayer
|
||||
add_to_hud(M)
|
||||
if(self_visible)
|
||||
add_hud_to(M)
|
||||
|
||||
if (!team_hud)
|
||||
M.mind.antag_hud = src
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
|
||||
density = FALSE
|
||||
stat = DEAD
|
||||
hud_possible = list()
|
||||
|
||||
var/mob/living/new_character //for instant transfer once the round is set up
|
||||
|
||||
|
||||
Reference in New Issue
Block a user