[MIRROR] Fixes bug where people could teach themselves dronespeak [MDB IGNORE] (#11449)

* Fixes bug where people could teach themselves dronespeak (#64785)

Oversight from #54192 (0e6ac80e57) which in turn fixed an oversight from #53916 (9c95813da4)

* Fixes bug where people could teach themselves dronespeak

Co-authored-by: RandomGamer123 <31096837+RandomGamer123@users.noreply.github.com>
This commit is contained in:
SkyratBot
2022-02-11 11:31:26 +01:00
committed by GitHub
parent 33f02eba30
commit 422f8b3719

View File

@@ -102,3 +102,10 @@
return
return ..()
/obj/item/language_manual/dronespeak_manual/attack_self(mob/living/user)
if(!(isdrone(user) || issilicon(user)))
to_chat(user, span_danger("You beat yourself over the head with [src]!"))
return
return ..()