Fixed emitter beam esword reflection runtime error.

This commit is contained in:
xxalpha
2015-05-13 21:16:52 +01:00
parent ab16875492
commit 79c96e1bf1
+4
View File
@@ -41,6 +41,10 @@
// 1 to pass solid objects, 2 to pass solid turfs (results in bugs, bugs and tons of bugs)
var/range = 0
/obj/item/projectile/New()
permutated = list()
return ..()
/obj/item/projectile/proc/Range()
if(range)
range--