go-steam
go-steam copied to clipboard
fix GetFullInventory fails to load huge inventories
There were 2 variables next. One is local to the loop and another in the outer scope. On every iteration, starting from the second, latest would become equal to the outer next (which was always nil) and fail immediately.