Skip to content

Commit

Permalink
last one
Browse files Browse the repository at this point in the history
  • Loading branch information
johndoe2013 committed Jul 8, 2024
1 parent abf7343 commit 3c966d5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion code/game/machinery/vending/cm_vending.dm
Original file line number Diff line number Diff line change
Expand Up @@ -1307,7 +1307,8 @@ GLOBAL_LIST_INIT(cm_vending_gear_corresponding_types_list, list(
var/obj/item/item_ref = myprod[3]
var/priority = myprod[priority_index]
if(islist(item_ref)) // multi-vending
item_ref = item_ref[1]
var/list/ref_list = item_ref
item_ref = ref_list[1]

var/is_category = item_ref == null

Expand Down

0 comments on commit 3c966d5

Please sign in to comment.