var/hubkeys=params2list(world.GetScores())
var/delscoreplz[0]
delscoreplz["Level"]=null
delscoreplz["Kills (K/D Ratio)"]=null
delscoreplz["Tournament Wins"]=null
delscoreplz["Online Time (hours)"]=null
delscoreplz["IGN"]=null
delscoreplz["Arena Wins (Ratio)"]=null
delscoreplz["Konoha Invasion"]=null
delscoreplz=list2params(delscoreplz)
for(var/key in hubkeys) world.SetScores(key,delscoreplz)
Problem description:
This code used to work just fine, but I've been trying it all day today and it hasnt reset the hub at all. :\
I havent changed anything in the code since last time it worked... I may have updated BYOND since then though? I dunno. i still run an old version so i can actually map.