Prevents the possessor crystal from possessing bots (#15424)

* Prevents the possessor crystal from possessing bots

* Update code/modules/mining/lavaland/loot/colossus_loot.dm

Co-authored-by: Farie82 <farie82@users.noreply.github.com>

Co-authored-by: Farie82 <farie82@users.noreply.github.com>
This commit is contained in:
Qwertytoforty
2021-02-10 13:21:29 -05:00
committed by GitHub
parent 09e9eda072
commit 8f9ab3dac6
@@ -335,7 +335,7 @@
if(ishuman(user))
var/mobcheck = 0
for(var/mob/living/simple_animal/A in range(1, src))
if(A.melee_damage_upper > 5 || A.mob_size >= MOB_SIZE_LARGE || A.ckey || A.stat)
if(A.melee_damage_upper > 5 || A.mob_size >= MOB_SIZE_LARGE || A.ckey || A.stat || isbot(A))
break
var/obj/structure/closet/stasis/S = new /obj/structure/closet/stasis(A)
user.forceMove(S)