Fix randomized reaction persistence (#95835)

## About The Pull Request
The wrong data was passed to the random reaction initialization
Fixes #95830
## Why It's Good For The Game

<img width="498" height="302" alt="livrah-streamer"
src="https://github.com/user-attachments/assets/ec40d522-13ba-42cf-a769-8aece283c1ac"
/>

## Changelog
🆑
fix: metalgen and secret sauce recipes are now loaded properly
/🆑

---------

Co-authored-by: l0 <-->
Co-authored-by: SyncIt21 <110812394+SyncIt21@users.noreply.github.com>
This commit is contained in:
levels0
2026-04-23 08:58:19 +12:00
committed by GitHub
co-authored by l0 <--> SyncIt21
parent 8a342df575
commit 847b299aa9
+1 -1
View File
@@ -134,7 +134,7 @@ GLOBAL_LIST_INIT(stacked_metabolization_effect, init_chemical_side_effects())
if(ispath(reaction, /datum/chemical_reaction/randomized))
var/target_path = reaction
var/index = reactions.Find(reaction)
reaction = new target_path(json)
reaction = new target_path(LAZYACCESS(json, "[target_path]"))
//failed to init
if(QDELETED(reaction))