mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-30 16:47:13 +01:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user