mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-16 17:43:35 +01:00
Some hotfixes (#17464)
This commit is contained in:
@@ -983,14 +983,14 @@
|
||||
*/
|
||||
/client/proc/retrieve_byondacc_data()
|
||||
// Do not refactor this to use SShttp, because that requires the subsystem to be firing for requests to be made, and this will be triggered before the MC has finished loading
|
||||
var/list/http[] = world.Export("http://www.byond.com/members/[ckey]?format=text")
|
||||
var/list/http[] = HTTPGet("http://www.byond.com/members/[ckey]?format=text")
|
||||
if(http)
|
||||
var/status = text2num(http["STATUS"])
|
||||
|
||||
if(status == 200)
|
||||
// This is wrapped in try/catch because lummox could change the format on any day without informing anyone
|
||||
try
|
||||
var/list/lines = splittext(file2text(http["CONTENT"]), "\n")
|
||||
var/list/lines = splittext(http["CONTENT"], "\n")
|
||||
var/list/initial_data = list()
|
||||
var/current_index = ""
|
||||
for(var/L in lines)
|
||||
|
||||
Reference in New Issue
Block a user