[MIRROR] Adminwho and the status panel now shows when fellow admins are readied up in pre-game lobby [MDB IGNORE] (#9341)

* Adminwho and the status panel now shows when fellow admins are readied up in pre-game lobby (#62670)

* Adminwho and the status panel now shows when fellow admins are readied up in pre-game lobby

Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com>
This commit is contained in:
SkyratBot
2021-11-09 09:41:43 -05:00
committed by GitHub
co-authored by MrMelbert
parent 3de0a4db44
commit c9b3accbac
3 changed files with 20 additions and 5 deletions
+8 -1
View File
@@ -83,7 +83,14 @@
if(isobserver(C.mob))
msg += " - Observing"
else if(isnewplayer(C.mob))
msg += " - Lobby"
if(SSticker.current_state <= GAME_STATE_PREGAME)
var/mob/dead/new_player/lobbied_admin = C.mob
if(lobbied_admin.ready == PLAYER_READY_TO_PLAY)
msg += " - Lobby (Readied)"
else
msg += " - Lobby (Not readied)"
else
msg += " - Lobby"
else
msg += " - Playing"
+1
View File
@@ -51,6 +51,7 @@ INITIALIZE_IMMEDIATE(/mob/dead)
. += "Players: [SSticker.totalPlayers]"
if(client.holder)
. += "Players Ready: [SSticker.totalPlayersReady]"
. += "Admins Ready: [SSticker.total_admins_ready] / [GLOB.admins.len]"
/mob/dead/proc/server_hop()
set category = "OOC"