[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 <timothymtorres@gmail.com>
This commit is contained in:
SkyratBot
2022-09-11 19:55:10 -07:00
committed by GitHub
co-authored by Tim
parent 4cf06184ab
commit 1ea738d69a
@@ -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)