mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-24 04:27:35 +01:00
- Made flamethrowers use afterattack() instead of /turf/DblClick().
- Gave engineer vending machines air alarm electronics. - Replaced a magic number with what it is defined by. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5592 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -35,16 +35,6 @@
|
||||
return move_camera_by_click()
|
||||
if(usr.stat || usr.restrained() || usr.lying)
|
||||
return ..()
|
||||
|
||||
if(usr.hand && istype(usr.l_hand, /obj/item/weapon/flamethrower))
|
||||
var/turflist = getline(usr,src)
|
||||
var/obj/item/weapon/flamethrower/F = usr.l_hand
|
||||
F.flame_turf(turflist)
|
||||
else if(!usr.hand && istype(usr.r_hand, /obj/item/weapon/flamethrower))
|
||||
var/turflist = getline(usr,src)
|
||||
var/obj/item/weapon/flamethrower/F = usr.r_hand
|
||||
F.flame_turf(turflist)
|
||||
|
||||
return ..()
|
||||
|
||||
/turf/Click()
|
||||
|
||||
Reference in New Issue
Block a user