auto-chess-ui-mod / source

This repository contains the Javascript code that is appended to the Dota 2 UI code for the Dota 2 Auto Chess UI mod
2 stars 7 forks source link

Moved xp to level updating from show_time #1

Closed boingy closed 5 years ago

boingy commented 5 years ago

I personally didn't really experience performance issues when using the mod but as it stands the text for xp and gold to level was inside the show_time loop which may have caused performance issues if the UI attempted to rewrite it every second.

Now it will only attempt to update at the start of every round or when the player has spent 5 gold.

TiesdeKok commented 5 years ago

That looks great, I will incorporate it quickly once I get to it!

Thanks for your contribution!

TiesdeKok commented 5 years ago

Update, I have generated new VPK files that have your change incorporated. 😄