Skip to content
Snippets Groups Projects
Commit ccd1cbfb authored by svornost's avatar svornost
Browse files

Reduce the scope of slaveCost and make it const

parent 48a695d3
No related branches found
No related tags found
No related merge requests found
......@@ -7,7 +7,6 @@ App.Markets.specialSlave = function() {
let p;
const heroSlaves = App.Utils.buildHeroArray();
let slave;
let slaveCost;
let selectedID;
// Element to show the entire catalog when selected, or a blurb for a random slave
......@@ -88,7 +87,7 @@ App.Markets.specialSlave = function() {
const el = new DocumentFragment();
let p;
const {his} = getPronouns(slave);
slaveCost = heroSlaveCost(slave, 20000);
const slaveCost = heroSlaveCost(slave, 20000);
App.UI.DOM.appendNewElement("p", el, App.Desc.longSlave(slave, {market: "generic"}));
p = document.createElement("p");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment