From ff92a43bcfff1b3360f382ab3aba5d27bff99bce Mon Sep 17 00:00:00 2001 From: AzuleUtama <44248086+AzuleUtama@users.noreply.github.com> Date: Fri, 23 Nov 2018 10:45:37 +0000 Subject: [PATCH] cleaned it up a bit --- code/modules/projectiles/projectile.dm | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/code/modules/projectiles/projectile.dm b/code/modules/projectiles/projectile.dm index aa6e1a7866b..112b5d109e0 100644 --- a/code/modules/projectiles/projectile.dm +++ b/code/modules/projectiles/projectile.dm @@ -69,10 +69,8 @@ stamina = max(0, stamina - tile_dropoff_s) // as above, but with stamina if(range <= 0 && loc) on_range() - if(!damage && !stamina) - if(tile_dropoff || tile_dropoff_s) // does the projectile have falloff to start with - on_range() - + if(!damage && !stamina && (tile_dropoff || tile_dropoff_s)) + on_range() /obj/item/projectile/proc/on_range() //if we want there to be effects when they reach the end of their range qdel(src)