Makes mindtransfers respect arousal

Clients arousal preferences are now taken into account when transferring
minds.
This commit is contained in:
ktccd
2017-08-08 19:45:06 +02:00
parent 41f42aabca
commit c0cc428216

View File

@@ -120,6 +120,10 @@
transfer_martial_arts(new_character)
if(active || force_key_move)
new_character.key = key //now transfer the key to link the client to our new body
if(isliving(new_character)) //New humans and such are by default enabled arousal. Let's always use the new mind's prefs.
var/mob/living/L = new_character
L.canbearoused = L.client.prefs.arousable //Technically this should make taking over a character mean the body gain the new minds setting...
L.update_arousal_hud() //Removes the old icon
/datum/mind/proc/store_memory(new_text)
memory += "[new_text]<BR>"