From 1ea738d69a296c6881415eae52dc4319cb607a87 Mon Sep 17 00:00:00 2001 From: SkyratBot <59378654+SkyratBot@users.noreply.github.com> Date: Mon, 12 Sep 2022 04:55:10 +0200 Subject: [PATCH] [MIRROR] Fix book of babel not removing blocked languages properly [MDB IGNORE] (#16181) * Fix book of babel not removing blocked languages properly (#69801) Fixes #51114 The book of babel was not properly removing blocked languages, despite it granting the user omnitongue and the ability to understand and speak any language. * Fix book of babel not removing blocked languages properly Co-authored-by: Tim --- code/modules/mining/lavaland/tendril_loot.dm | 1 + 1 file changed, 1 insertion(+) diff --git a/code/modules/mining/lavaland/tendril_loot.dm b/code/modules/mining/lavaland/tendril_loot.dm index 8cac79c890f..039dba98001 100644 --- a/code/modules/mining/lavaland/tendril_loot.dm +++ b/code/modules/mining/lavaland/tendril_loot.dm @@ -478,6 +478,7 @@ if(!user.can_read(src)) return FALSE to_chat(user, span_notice("You flip through the pages of the book, quickly and conveniently learning every language in existence. Somewhat less conveniently, the aging book crumbles to dust in the process. Whoops.")) + user.remove_blocked_language(GLOB.all_languages, source = LANGUAGE_ALL) user.grant_all_languages() new /obj/effect/decal/cleanable/ash(get_turf(user)) qdel(src)