mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-18 18:44:48 +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:
+6
-4
@@ -149,10 +149,12 @@
|
||||
transfer_antag_huds(hud_to_transfer) //inherit the antag HUD
|
||||
transfer_actions(new_character)
|
||||
if(martial_art)
|
||||
if(martial_art.temporary)
|
||||
martial_art.remove(current)
|
||||
else
|
||||
martial_art.teach(current)
|
||||
for(var/datum/martial_art/MA in known_martial_arts)
|
||||
if(MA.temporary)
|
||||
MA.remove(current)
|
||||
else
|
||||
MA.remove(current)
|
||||
MA.teach(current)
|
||||
if(active)
|
||||
new_character.key = key //now transfer the key to link the client to our new body
|
||||
SEND_SIGNAL(src, COMSIG_MIND_TRANSER_TO, new_character)
|
||||
|
||||
Reference in New Issue
Block a user