Fix outputting wrong value in steampurple