From ac5fd04de555c6dbc5c8e66fc7337d022a691526 Mon Sep 17 00:00:00 2001 From: Tim Date: Sun, 11 Sep 2022 19:51:26 -0500 Subject: [PATCH] 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. --- 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 6fcab569bee..99ce2c044c3 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)