mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-25 06:00:16 +01:00
[No GBP] Actually fix random recipes for real (#95895)
## About The Pull Request Just the fix parts from #95892 Fixes #95876 ## Why It's Good For The Game ## Changelog 🆑 fix: metalgen and secret sauce should now generate properly /🆑 --------- Co-authored-by: l0 <-->
This commit is contained in:
@@ -44,6 +44,7 @@
|
||||
//creation time, decides if we are random generating or not
|
||||
created = recipe_data ? text2num(recipe_data["timestamp"]) : world.realtime
|
||||
if(daysSince(created) > persistence_period)
|
||||
created = world.realtime
|
||||
recipe_data = null
|
||||
|
||||
//all reagents
|
||||
|
||||
Reference in New Issue
Block a user