-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This fix changes the logic on how the macro is found and generated. Previously, the code would try to find the macro based off a macro index and try and do a string.find on RHT.b. Seeing RHT.b is a defunct part of the macro, I changed this to use GetMacroIndexByName as the macro name is always 'RHT'. This allows us to set the index in a much cleaner fashion. Lastly, I removed the last line of SetRandomHearthToy that was setting the RHT.b button which did not exist. This has been extensively tested and the bug is now resolved
- Loading branch information
1 parent
a8b66c9
commit 9ff647c
Showing
1 changed file
with
91 additions
and
130 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters