From cfd4cbf6e117d4a8ca3fdfdfb0885df987ef47e6 Mon Sep 17 00:00:00 2001 From: SkyratBot <59378654+SkyratBot@users.noreply.github.com> Date: Sun, 24 Sep 2023 12:58:34 +0200 Subject: [PATCH] [MIRROR] Fix secret documents steal objective failing while inside folder [MDB IGNORE] (#23878) * 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: * Fix secret documents steal objective failing while inside folder --------- Co-authored-by: Tim --- 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 c8c951a9fd4..2240f220e48 100644 --- a/code/game/gamemodes/objective_items.dm +++ b/code/game/gamemodes/objective_items.dm @@ -355,6 +355,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