mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-23 21:12:24 +01:00
Fixes most tgui bugs (#16539)
* Fixes most tgui bugs * the soul longs for oblivion * skin fix * hardsuit fix * b * the final fixes (for now) * bb * fix keys * cl * fuck off * i'm alone i'm alone i'm alone * the heart's whisper * fffss * je cherche la vérité tout en l'évitant --------- Co-authored-by: Matt Atlas <liermattia@gmail.com>
This commit is contained in:
@@ -330,6 +330,7 @@
|
||||
remove_verb(observer, /mob/abstract/observer/verb/toggle_antagHUD)
|
||||
observer.ckey = ckey
|
||||
observer.initialise_postkey()
|
||||
observer.client.init_verbs()
|
||||
qdel(src)
|
||||
|
||||
/mob/abstract/new_player/proc/show_lore_summary()
|
||||
|
||||
@@ -376,6 +376,8 @@ INITIALIZE_IMMEDIATE(/mob/abstract/new_player)
|
||||
|
||||
new_character.key = key //Manually transfer the key to log them in
|
||||
|
||||
new_character.client.init_verbs()
|
||||
|
||||
return new_character
|
||||
|
||||
/mob/abstract/new_player/proc/ViewManifest()
|
||||
|
||||
@@ -235,10 +235,10 @@ Works together with spawning an observer, noted above.
|
||||
|
||||
ghost.ckey = ckey
|
||||
ghost.initialise_postkey(should_set_timer)
|
||||
ghost.client?.init_verbs()
|
||||
if(ghost.client)
|
||||
if(!ghost.client.holder && !config.antag_hud_allowed) // For new ghosts we remove the verb from even showing up if it's not allowed.
|
||||
remove_verb(ghost, /mob/abstract/observer/verb/toggle_antagHUD) // Poor guys, don't know what they are missing!
|
||||
ghost.client.init_verbs()
|
||||
return ghost
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user