Skip to content

Commit

Permalink
Fix: add checks in hublistpanel
Browse files Browse the repository at this point in the history
  • Loading branch information
Bizzonium committed Jan 6, 2022
1 parent 7af9abc commit d51c2e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/modules/client/hublist.dm
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
if(holder && forced)
return FALSE

if(config.hublist_url)
if(config.hublist_url && SShttp && !(Master?.current_runlevel & RUNLEVEL_INIT))
var/datum/callback/cb = CALLBACK(src, /datum/.proc/hublist_fetch_callback, usr)
SShttp.create_async_request(RUSTG_HTTP_METHOD_GET, config.hublist_url, proc_callback=cb)
else
Expand Down

0 comments on commit d51c2e1

Please sign in to comment.