mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 18:53:06 +00:00
Fixes Blob Tasering
Blobs are no longer harmed by tasers or other strange weapons that don't damage structures.
This commit is contained in:
@@ -248,7 +248,10 @@ var/list/blobs = list()
|
|||||||
if(!P)
|
if(!P)
|
||||||
return
|
return
|
||||||
|
|
||||||
var/damage = P.damage
|
var/damage = P.get_structure_damage() // So tasers don't hurt the blob.
|
||||||
|
if(!damage)
|
||||||
|
return
|
||||||
|
|
||||||
switch(P.damage_type)
|
switch(P.damage_type)
|
||||||
if(BRUTE)
|
if(BRUTE)
|
||||||
if(overmind)
|
if(overmind)
|
||||||
|
|||||||
Reference in New Issue
Block a user