diff --git a/code/obj/item/satchel.dm b/code/obj/item/satchel.dm index 96a70e6190226..e26f6da08c467 100644 --- a/code/obj/item/satchel.dm +++ b/code/obj/item/satchel.dm @@ -122,7 +122,7 @@ satchel_contents[temp] = I sortList(satchel_contents, /proc/cmp_text_asc) var/chosenItem = input("Select an item to pull out.", "Choose Item") as null|anything in satchel_contents - if (!chosenItem) + if (!chosenItem || !(chosenItem in src.contents)) return return satchel_contents[chosenItem]