Adds null check to world status map check (#40305)

* Adds null check to world status map check

* Fix stat
This commit is contained in:
Jordan Brown
2018-09-17 20:20:58 -04:00
committed by yogstation13-bot
parent f62a8bf6bc
commit 1115a3628e
2 changed files with 2 additions and 2 deletions

View File

@@ -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()