mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-14 16:44:33 +01:00
[s] Martial arts granted by equipped items no longer persist through cloning. (#22684)
* Martial arts no longer persist through cloning * Remove unnessecary var declarations * Combo counter --------- Co-authored-by: Adrer <adrermail@gmail.com>
This commit is contained in:
@@ -37,7 +37,7 @@
|
||||
var/obj/item/claymore/highlander/sword = H.is_in_hands(/obj/item/claymore/highlander)
|
||||
if(sword)
|
||||
//if we have a highlander sword in the other hand, relearn the style from that sword.
|
||||
sword.style.teach(H, 1)
|
||||
sword.style.teach(H, TRUE)
|
||||
|
||||
/obj/item/claymore/highlander/dropped(mob/user)
|
||||
..()
|
||||
@@ -49,4 +49,4 @@
|
||||
var/obj/item/claymore/highlander/sword = H.is_in_hands(/obj/item/claymore/highlander)
|
||||
if(sword)
|
||||
//if we have a highlander sword in the other hand, relearn the style from that sword.
|
||||
sword.style.teach(H, 1)
|
||||
sword.style.teach(H, TRUE)
|
||||
|
||||
Reference in New Issue
Block a user