Ghosts can no longer rename monkeys (#13543)

* Ghosts can no longer rename monkeys

* Forgot to make it carbon like the last fix
This commit is contained in:
Doxxmedearly
2022-04-16 20:40:44 -03:00
committed by GitHub
parent 862c27ca48
commit f232ca2fa5
2 changed files with 13 additions and 2 deletions
@@ -1232,8 +1232,13 @@ mob/living/carbon/human/proc/change_monitor()
set category = "IC"
set src in view(1)
var/mob/living/M = usr
if(!M || usr == src)
var/mob/living/carbon/M = usr
if(!istype(M))
to_chat(usr, SPAN_WARNING("You aren't allowed to rename \the [src]."))
return
if(usr == src)
to_chat(usr, SPAN_WARNING("You're a simple creature, you can't rename yourself!"))
return
if(can_name(M))
@@ -0,0 +1,6 @@
author: Doxxmedearly
delete-after: True
changes:
- bugfix: "Ghosts can no longer rename monkeys or their equivalents."