You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 21, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: Neuron.lua
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -104,9 +104,9 @@ Neuron.SNAPTO_TOLLERANCE = 28
104
104
Neuron.enteredWorld=false--flag that gets set when the player enters the world. It's used primarily for throttling events so that the player doesn't crash on logging with too many processes
105
105
106
106
ifWOW_PROJECT_ID==WOW_PROJECT_CLASSICthen--boolean check to set a flag if the current session is WoW Classic. Retail == 1, Classic == 2
Neuron:Print(WrapTextInColorCode("IMPORTANT: Shadowlands content now requires multiple Zone Ability Buttons. Please add at least 3 buttons to your Zone Ability Bar to support this new functionality.", "FF00FFEC"))
359
359
print("")
@@ -439,7 +439,7 @@ function Neuron:UpdateSpellCache()
if (Neuron.isWoWClassicorNeuron.isWoWClassic_TBC) andself.id==1then--the keyring button should be aligned to the right because it's only 1/3 the width of the other bag buttons
61
+
if (Neuron.isWoWClassicEraorNeuron.isWoWClassic) andself.id==1then--the keyring button should be aligned to the right because it's only 1/3 the width of the other bag buttons
ifnotself:IsEventRegistered("PET_BATTLE_CLOSE") andnotNeuron.isWoWClassicandnotNeuron.isWoWClassic_TBCthen--only run this code on the first SetType, not the reloads after pet battles and such
ifnotself:IsEventRegistered("PET_BATTLE_CLOSE") andnotNeuron.isWoWClassicEraandnotNeuron.isWoWClassicthen--only run this code on the first SetType, not the reloads after pet battles and such
0 commit comments