Skip to content
Snippets Groups Projects
Commit 75bfcb66 authored by lowercasedonkey's avatar lowercasedonkey
Browse files

null fix

parent bd6f3b38
Branches
Tags
1 merge request!8236Corp econ (ready)
...@@ -16,7 +16,7 @@ App.EndWeek.corporationDevelopments = function() { ...@@ -16,7 +16,7 @@ App.EndWeek.corporationDevelopments = function() {
const r = []; const r = [];
/* Reporting on number of slaves being processed or completed processing */ /* Reporting on number of slaves being processed or completed processing */
r.push(`${_div.name}: The division ${_div.message_endWeek_Slaves(_d)}`); r.push(`${_div.name}: The division ${_div.message_endWeek_Slaves(_d)}`);
if (_d.market.originalBuy !== null) { if (_d.market.originalBuy != null) {
if (_d.market.buy === 0) { if (_d.market.buy === 0) {
r.push(App.UI.DOM.makeElement("div", `It couldn't purchase ${numberWithPlural(_d.market.originalBuy, "slave")} to replenish its stock from the market because it couldn't afford to purchase price.`)); r.push(App.UI.DOM.makeElement("div", `It couldn't purchase ${numberWithPlural(_d.market.originalBuy, "slave")} to replenish its stock from the market because it couldn't afford to purchase price.`));
} else { } else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment