mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-14 00:23:29 +01:00
Thrown stunbaton can no longer stun silicons (#17703)
* Add silicon check to stunbaton throw impact * Corrected parameter Co-authored-by: adrermail@gmail.com <adrermail@gmail.com>
This commit is contained in:
@@ -82,7 +82,7 @@
|
||||
|
||||
/obj/item/melee/baton/throw_impact(atom/hit_atom)
|
||||
..()
|
||||
if(prob(throw_hit_chance) && turned_on && isliving(hit_atom))
|
||||
if(prob(throw_hit_chance) && turned_on && isliving(hit_atom) && !issilicon(hit_atom))
|
||||
baton_stun(hit_atom)
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user