Remove temp mart arts. And reteach non temp on mind transfer

This commit is contained in:
joep van der velden
2020-10-01 19:58:32 +02:00
parent 26bbfb1175
commit 84813f3fc5
2 changed files with 9 additions and 3 deletions
+5
View File
@@ -113,6 +113,11 @@
A.on_body_transfer(old_current, current)
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)
if(active)
new_character.key = key //now transfer the key to link the client to our new body