Skip to content

Commit fa74674

Browse files
authored
Merge pull request #82582 from BalthazarArgall/FixIngestionRatio
Fix wrong type usage in jmath function
2 parents 8b3f73c + a55c316 commit fa74674

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

data/json/effects_on_condition/medicine_eocs/regen_serum_eoc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"id": "spent_to_ingested_ratio",
55
"//": "return ratio between calories you spent yesterday and calories you ingested yesterday. if bigger than 1, you consumed more calories than you ingested",
66
"num_args": 0,
7-
"return": "max( get_calories_daily('type':'spent', 'day':'1'), 1 ) / max( get_calories_daily('type':'ingested', 'day':'1'), 1 )"
7+
"return": "max( get_calories_daily('type':'spent', 'day':1), 1 ) / max( get_calories_daily('type':'ingested', 'day':1), 1 )"
88
},
99
{
1010
"type": "effect_on_condition",

0 commit comments

Comments
 (0)