Fixes blobbernaut exploit

This commit is contained in:
Kyep
2019-03-19 02:12:38 -07:00
parent 9b11285b1a
commit d69b6ea310
2 changed files with 16 additions and 2 deletions

View File

@@ -12,6 +12,7 @@
minbodytemp = 0
maxbodytemp = 360
universal_speak = 1 //So mobs can understand them when a blob uses Blob Broadcast
sentience_type = SENTIENCE_OTHER
var/mob/camera/blob/overmind = null
/mob/living/simple_animal/hostile/blob/proc/adjustcolors(var/a_color)
@@ -21,6 +22,14 @@
/mob/living/simple_animal/hostile/blob/blob_act()
return
/mob/living/simple_animal/hostile/blob/AttackingTarget()
if(ckey)
if(istype(target, /obj/structure/blob))
return FALSE
return ..()
////////////////
// BLOB SPORE //
////////////////