Open SystemParadox opened 4 years ago
Prevent Game.market.getHistory() returning empty objects if resource is invalid or has no data. Return an empty array instead.
Includes a similar fix for underlying code of Game.market.getAllOrders(), which only works correctly at the moment because of the _.filter call.
_.filter
Prevent Game.market.getHistory() returning empty objects if resource is invalid or has no data. Return an empty array instead.
Includes a similar fix for underlying code of Game.market.getAllOrders(), which only works correctly at the moment because of the
_.filter
call.