Merge pull request #141 from Miniature/master

Made flamethrowers also work when you click on blob
This commit is contained in:
CIB
2011-12-25 07:20:08 -08:00
+7
View File
@@ -40,6 +40,13 @@
processing_objects.Remove(src)
..()
//copy pasta from turf code, so flamers work on blob without having to pixelhunt
//might need an else for the ..()
DblClick()
if((usr.hand && istype(usr.l_hand, /obj/item/weapon/flamethrower)) || (!usr.hand && istype(usr.r_hand, /obj/item/weapon/flamethrower)))
var/turf/location = get_turf_loc(src)
location.DblClick()
return ..()
CanPass(atom/movable/mover, turf/target, height=0, air_group=0)
if((air_group && blobtype != "Shield") || (height==0)) return 1