diff --git a/src/data/backwardsCompatibility/updateSlaveObject.js b/src/data/backwardsCompatibility/updateSlaveObject.js index 6c98695e4ce036159e9337c18e60012e1ea593e2..cfcc1b8726d631619c5623c69e6d1846d882c8eb 100644 --- a/src/data/backwardsCompatibility/updateSlaveObject.js +++ b/src/data/backwardsCompatibility/updateSlaveObject.js @@ -63,7 +63,7 @@ App.Update.Slave = function(slave) { } } if (slave.genetics === undefined) { slave.genetics = {}; } - if (slave.geneMods === undefined) { geneMods = {NCS: 0, rapidCellGrowth: 0}; } + if (slave.geneMods === undefined) { slave.geneMods = {NCS: 0, rapidCellGrowth: 0}; } if (slave.inducedNCS !== undefined) { slave.geneMods.NCS = slave.inducedNCS; delete slave.inducedNCS;