Fix runtime.

This commit is contained in:
ESwordTheCat
2014-04-29 07:48:04 -08:00
parent b3d0f22358
commit 35cd18a73c
3 changed files with 4 additions and 1 deletions

View File

@@ -242,7 +242,7 @@
if(3)
A = getFromPool(/obj/item/projectile/beam/pulse, loc)
if(4)
A = new /obj/item/projectile/change( loc )
A = getFromPool(/obj/item/projectile/change, loc)
if(5)
A = getFromPool(/obj/item/projectile/beam/lastertag/blue, loc)
if(6)

View File

@@ -208,6 +208,7 @@ var/list/beam_master = list()
if(kill_count < 1)
//del(src)
returnToPool(src)
return
kill_count--
if(!bumped && !isturf(original))

View File

@@ -34,6 +34,7 @@
resetVariables()
temperature = initial(temperature)
return ..()
on_hit(var/atom/target, var/blocked = 0)//These two could likely check temp protection on the mob
if(istype(target, /mob/living))
@@ -151,6 +152,7 @@
resetVariables()
range = initial(range)
return ..()
obj/item/projectile/kinetic/New()
var/turf/proj_turf = get_turf(src)