Two-handed items check.

Adds a check to see if the item can be wielded when given or dropped when it is wielded.
This commit is contained in:
Datraen
2016-04-05 18:09:38 -04:00
parent 5afe43bfb3
commit 204c51597c
2 changed files with 12 additions and 0 deletions

View File

@@ -68,6 +68,12 @@
/obj/item/weapon/material/twohanded/update_icon()
icon_state = "[base_icon][wielded]"
item_state = icon_state
/obj/item/weapon/material/twohanded/dropped()
..()
if(wielded)
spawn(0)
update_held_icon()
/*
* Fireaxe