mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 12:41:09 +01:00
[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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user