-
- Downloads
Split AdManager.tallySlave into two functions, one which does the actual...
Split AdManager.tallySlave into two functions, one which does the actual tallying for the report, and a free function which counts the categories in which a slave matches a facility's ads. Remove AdManager from everywhere that doesn't actually need to keep a slave tally state, and just use App.Ads.getMatchedCategoryCount everywhere the persistent state is not needed. This means only App.Ads.report actually needs an AdManager instance, which cleans things up quite a bit.
Showing
- src/facilities/ads.js 17 additions, 9 deletionssrc/facilities/ads.js
- src/js/economyJS.js 2 additions, 4 deletionssrc/js/economyJS.js
- src/uncategorized/brothelReport.tw 1 addition, 3 deletionssrc/uncategorized/brothelReport.tw
- src/uncategorized/clubReport.tw 0 additions, 3 deletionssrc/uncategorized/clubReport.tw
Loading
Please register or sign in to comment