Fixed the rapier sprites.

This commit is contained in:
Useroth
2019-06-11 00:39:56 +02:00
parent 948b562438
commit 18c31ef22b
3 changed files with 6 additions and 2 deletions

View File

@@ -686,8 +686,8 @@
to_chat(user, "[src] is empty.")
/obj/item/storage/belt/sabre/update_icon()
icon_state = "sheath"
item_state = "sheath"
icon_state = initial(icon_state)
item_state = initial(item_state)
if(contents.len)
icon_state += "-sabre"
item_state += "-sabre"
@@ -699,3 +699,7 @@
/obj/item/storage/belt/sabre/PopulateContents()
new /obj/item/melee/sabre(src)
update_icon()
/obj/item/storage/belt/sabre/rapier/PopulateContents()
new /obj/item/melee/rapier(src)
update_icon()