diff --git a/code/game/objects/items/devices/uplinks.dm b/code/game/objects/items/devices/uplinks.dm index 39da8ba0ec6..a757adf33df 100644 --- a/code/game/objects/items/devices/uplinks.dm +++ b/code/game/objects/items/devices/uplinks.dm @@ -82,9 +82,11 @@ GLOBAL_LIST_EMPTY(world_uplinks) var/list/random_items = list() for(var/IR in uplink_items) - var/datum/uplink_item/UI = uplink_items[IR] - if(UI.cost <= uses && UI.limited_stock != 0) - random_items += UI + var/list/cat_items = uplink_items[IR] + for(var/uplink_item in cat_items) + var/datum/uplink_item/UI = uplink_item + if(UI.cost <= uses && UI.limited_stock != 0) + random_items += UI return pick(random_items)