diff --git a/src/endWeek/reports/clubReport.js b/src/endWeek/reports/clubReport.js index 50f8882342e1e245e806e66db66542500b3785d0..de98b3b10aa2a49b8c96c8edccb3b48456b25b6d 100644 --- a/src/endWeek/reports/clubReport.js +++ b/src/endWeek/reports/clubReport.js @@ -231,7 +231,7 @@ App.EndWeek.clubReport = function() { } } - App.UI.DOM.appendNewElement("p", el, App.Ads.report("club")); + App.Events.addNode(el, [App.Ads.report("club")], "p", "indented"); // Record statistics gathering const b = State.variables.facility.club; @@ -251,7 +251,14 @@ App.EndWeek.clubReport = function() { b.totalExpenses = b.whoreCosts + b.adsCosts + b.maintenance; b.profit = b.totalIncome / b.totalExpenses; if (V.clubDecoration !== "standard") { - App.UI.DOM.appendNewElement("p", el, `${capFirstChar(V.clubName)}'s customers enjoy <span class="green">having sex in ${V.clubDecoration} surroundings.</span>`); + App.Events.addNode( + el, + [ + `${capFirstChar(V.clubName)}'s customers enjoy <span class="green">having sex in ${V.clubDecoration} surroundings.</span>` + ], + "p", + "indented" + ); } // Club stats