mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-13 17:14:47 +01:00
[MIRROR] Fix loading persistent randomized recipes without dedicated container. (#8381)
* Fix loading persistent randomized recipes without dedicated container. (#61665) Container path will be null if it's unset and is not randomized. Fixes #61661 * Fix loading persistent randomized recipes without dedicated container. Co-authored-by: AnturK <AnturK@users.noreply.github.com>
This commit is contained in:
@@ -212,10 +212,12 @@ GLOBAL_LIST_INIT(medicine_reagents, build_medicine_reagents())
|
||||
if(!temp_results)
|
||||
return FALSE
|
||||
results = temp_results
|
||||
var/containerpath = text2path(recipe_data["required_container"])
|
||||
if(!containerpath)
|
||||
return FALSE
|
||||
required_container = containerpath
|
||||
var/raw_container_path = recipe_data["required_container"]
|
||||
if(raw_container_path)
|
||||
var/containerpath = text2path(raw_container_path)
|
||||
if(!containerpath)
|
||||
return FALSE
|
||||
required_container = containerpath
|
||||
return TRUE
|
||||
|
||||
/datum/chemical_reaction/randomized/secret_sauce
|
||||
|
||||
Reference in New Issue
Block a user