Fixes slimeperson traits (#36663)
This commit is contained in:
committed by
CitadelStationBot
parent
c579d81f4c
commit
0f39d85a80
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user