Fixes molotovs not lighting their splashed contents (#79727)

## About The Pull Request
Delays fire effects on target and creating a hotspot until after
bottle/smash (and the liquid is splashed), not before.
## Why It's Good For The Game
Makes molotovs work properly
## Changelog
🆑
fix: Molotovs now splash before burning, not after
/🆑
This commit is contained in:
Shroopy
2023-11-15 19:50:55 +01:00
committed by GitHub
parent 6e92697d61
commit f36d082b3c
@@ -803,10 +803,10 @@
if(istype(contained_reagent, accelerant_type))
firestarter = 1
break
..()
if(firestarter && active)
target.fire_act()
new /obj/effect/hotspot(get_turf(target))
..()
/obj/item/reagent_containers/cup/glass/bottle/molotov/attackby(obj/item/I, mob/user, params)
if(I.get_temperature() && !active)