mirror of
https://github.com/yogstation13/Yogstation.git
synced 2025-02-26 09:04:50 +00:00
Adds null check to world status map check (#40305)
* Adds null check to world status map check * Fix stat
This commit is contained in:
committed by
yogstation13-bot
parent
f62a8bf6bc
commit
1115a3628e
@@ -157,7 +157,7 @@
|
||||
.["admins"] = presentmins.len + afkmins.len //equivalent to the info gotten from adminwho
|
||||
.["gamestate"] = SSticker.current_state
|
||||
|
||||
.["map_name"] = SSmapping.config.map_name
|
||||
.["map_name"] = SSmapping.config?.map_name || "Loading..."
|
||||
|
||||
if(key_valid)
|
||||
.["active_players"] = get_active_player_count()
|
||||
|
||||
Reference in New Issue
Block a user