Laser Vest Fix (#11421)

This commit is contained in:
Geeves
2021-03-14 13:04:04 +01:00
committed by GitHub
parent bceb79ec65
commit ed15c439ef
2 changed files with 8 additions and 1 deletions
+2 -1
View File
@@ -38,7 +38,8 @@
if(ishuman(user))
var/mob/living/carbon/human/H = user
var/obj/item/card/id/ID = H.GetIdCard()
user_name = ID.registered_name
if(ID)
user_name = ID.registered_name
var/list/num_to_word = list("one", "two", "three", "four", "five")
visible_message("<b>[capitalize_first_letters(name)]</b> says, \"[SPAN_NOTICE("[user_name] armor health set to [num_to_word[set_health]].")]\".")
return
@@ -0,0 +1,6 @@
author: Geeves
delete-after: True
changes:
- bugfix: "Fixes laser tag vests gently breaking when you try to change their health without an ID on your person."