Skip to content

Commit

Permalink
Update code/modules/projectiles/magazines/flamer.dm
Browse files Browse the repository at this point in the history
Co-authored-by: Drathek <[email protected]>
  • Loading branch information
iloveloopers and Drulikar committed Apr 24, 2024
1 parent 25008d2 commit 695ca15
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions code/modules/projectiles/magazines/flamer.dm
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,7 @@
to_chat(user, SPAN_WARNING("You can't mix fuel mixtures!"))
return

var/is_smoke_tank = istype(src, /obj/item/ammo_magazine/flamer_tank/smoke)
if(!to_add.intensityfire && to_add.id != "stablefoam" && !is_smoke_tank)
if(!to_add.intensityfire && to_add.id != "stablefoam" && !istype(src, /obj/item/ammo_magazine/flamer_tank/smoke))
to_chat(user, SPAN_WARNING("This chemical is not potent enough to be used in a flamethrower!"))
return

Expand Down

0 comments on commit 695ca15

Please sign in to comment.