From 7639a48cd697296be8300db55bc2df0eb397e431 Mon Sep 17 00:00:00 2001 From: Tim Date: Sun, 24 Sep 2023 01:56:29 -0500 Subject: [PATCH] Fix secret documents steal objective failing while inside folder (#78521) ## About The Pull Request Fixes #67318 Secret documents inserted into a folder would result in failure. This was frustrating for people who kept the original folder it was spawned in. It has now been fixed properly. ## Why It's Good For The Game Greentext is good. ## Changelog :cl: fix: Fix secret documents steal objective failing while inside folder. /:cl: --- code/game/gamemodes/objective_items.dm | 1 + 1 file changed, 1 insertion(+) diff --git a/code/game/gamemodes/objective_items.dm b/code/game/gamemodes/objective_items.dm index 3bf39db3b1d..9627f48cbb5 100644 --- a/code/game/gamemodes/objective_items.dm +++ b/code/game/gamemodes/objective_items.dm @@ -353,6 +353,7 @@ /datum/objective_item/steal/documents name = "any set of secret documents of any organization" + valid_containers = list(/obj/item/folder) targetitem = /obj/item/documents exists_on_map = TRUE