mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2025-12-16 13:12:22 +00:00
Update food.dm
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
handle_name_change(usr)
|
||||
|
||||
/obj/item/reagent_containers/food/proc/handle_name_change(var/mob/living/user)
|
||||
if(!isliving(user) || user.stat == DEAD)
|
||||
if(user.stat == DEAD || !(ishuman(user) || isrobot(user)))
|
||||
to_chat(user, SPAN_WARNING("The dead can't cook!"))
|
||||
return
|
||||
var/n_name = sanitizeSafe(input(user, "What would you like to name \the [src]? Leave blank to reset.", "Food Naming", null) as text, MAX_NAME_LEN)
|
||||
|
||||
Reference in New Issue
Block a user