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.
This commit is contained in:
Tim
2022-09-11 20:51:26 -04:00
committed by GitHub
parent 7c80138139
commit ac5fd04de5
@@ -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)