mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-27 23:27:34 +01:00
[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:
@@ -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"
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user