Merge pull request #10239 from Agameofscones/dangerwillrobinson

Taser hotfix
This commit is contained in:
variableundefined
2018-11-16 11:26:28 +08:00
committed by GitHub
+1 -1
View File
@@ -69,7 +69,7 @@
stamina = max(0, stamina - tile_dropoff_s) // as above, but with stamina
if(range <= 0 && loc)
on_range()
if(!damage && !stamina)
if(!damage && !stamina && !nodamage)
on_range()
/obj/item/projectile/proc/on_range() //if we want there to be effects when they reach the end of their range