Merge pull request #34372 from YPOQ/slimestopfix

Fixes players not being immune to their own slime timestops
This commit is contained in:
Leo
2018-01-15 01:35:39 -02:00
committed by CitadelStationBot
parent 969a8ac9ef
commit 4b56baf1a6
2 changed files with 5 additions and 6 deletions
@@ -552,10 +552,9 @@
required_other = 1
/datum/chemical_reaction/slime/slimestop/on_reaction(datum/reagents/holder)
var/obj/effect/timestop/T = new /obj/effect/timestop
T.forceMove(get_turf(holder.my_atom))
T.immune += get_mob_by_key(holder.my_atom.fingerprintslast)
T.timestop()
var/turf/T = get_turf(holder.my_atom)
var/list/M = list(get_mob_by_key(holder.my_atom.fingerprintslast))
new /obj/effect/timestop(T, null, null, M)
..()
/datum/chemical_reaction/slime/slimecamera