jack-richards / bptf-autopricer

Automatically prices items using listing data from backpack.tf, with data from prices.tf acting as a baseline.
MIT License
24 stars 6 forks source link

Refactored Code & Bug Fix #4

Closed jack-richards closed 6 months ago

jack-richards commented 6 months ago

Refactored code, moved declaration of intervals into one place. Also fixed an issue where keyobj would be left undefined on start-up instead of being initialized with data, causing the first execution of the calculateAndEmitPrices() method to return errors.

jack-richards commented 6 months ago

Thanks @MartinL457 for reviewing the effects of the changes.