mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-26 05:27:39 +01:00
Merge pull request #1387 from Datraen/TwohandDropCheck
Two-handed items drop check.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
author: Datraen
|
||||
|
||||
delete-after: True
|
||||
|
||||
changes:
|
||||
- bugfix: "Checks to see if new a two-handed weapon can be wielded when dropped."
|
||||
Reference in New Issue
Block a user