Skip to content

Commit

Permalink
Fixes molotovs not lighting their splashed contents (#624)
Browse files Browse the repository at this point in the history
* Fix molotovs not lighting their splashed contents

* Adds skyrat edit tags to the changes

* Update code/modules/reagents/reagent_containers/cups/glassbottle.dm

---------

Co-authored-by: Shroopy <[email protected]>
Co-authored-by: Bloop <[email protected]>
  • Loading branch information
3 people authored Nov 15, 2023
1 parent 3517791 commit ee8adbf
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion code/modules/reagents/reagent_containers/cups/glassbottle.dm
Original file line number Diff line number Diff line change
Expand Up @@ -803,10 +803,16 @@
if(istype(contained_reagent, accelerant_type))
firestarter = 1
break
// SKYRAT EDIT CHANGE START - ORIGINAL :
//if(firestarter && active)
// target.fire_act()
// new /obj/effect/hotspot(get_turf(target))
// ..()
..()
if(firestarter && active)
target.fire_act()
new /obj/effect/hotspot(get_turf(target))
..()
// SKYRAT EDIT END

/obj/item/reagent_containers/cup/glass/bottle/molotov/attackby(obj/item/I, mob/user, params)
if(I.get_temperature() && !active)
Expand Down

0 comments on commit ee8adbf

Please sign in to comment.