Fixes slimeperson traits (#36663)

This commit is contained in:
Ashe Higgs
2018-03-26 22:11:33 -04:00
committed by CitadelStationBot
parent c579d81f4c
commit 0f39d85a80
2 changed files with 5 additions and 0 deletions
+3
View File
@@ -41,6 +41,9 @@
/datum/trait/proc/transfer_mob(mob/living/to_mob)
trait_holder.roundstart_traits -= src
to_mob.roundstart_traits += src
if(mob_trait)
trait_holder.remove_trait(mob_trait, ROUNDSTART_TRAIT)
to_mob.add_trait(mob_trait, ROUNDSTART_TRAIT)
trait_holder = to_mob
on_transfer()