diff --git a/common/script/src/content/helpers.js b/common/script/src/content/helpers.js index 12741ce9b1..242144ec5b 100644 --- a/common/script/src/content/helpers.js +++ b/common/script/src/content/helpers.js @@ -61,12 +61,12 @@ export function setFoodDefaults(food, options={}) { let formattedName = formatForTranslator(name); defaults(item, { + key: name, + text: translator(`food${formattedName}`), + notes: translator('foodNotes'), + value: 1, canBuy: options.canBuy || false, canDrop: options.canDrop || false, - text: translator(`food${formattedName}`), - value: 1, - key: name, - notes: translator('foodNotes'), }); }); };