Skip to content

Commit

Permalink
#73 Fixed import broken after removing api overrides.
Browse files Browse the repository at this point in the history
  • Loading branch information
Sellorio committed Oct 14, 2020
1 parent 1ed5ff4 commit c1561d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/mega-macro-engine.lua
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ local function TryImportGlobalMacros()
end

for i=1, numberOfGlobalMacros do
local name, _, body, _ = MegaMacroApiOverrides.Original.GetMacroInfo(i)
local name, _, body, _ = GetMacroInfo(i)
local macro = MegaMacro.Create(name, MegaMacroScopes.Global, MegaMacroTexture)

if macro == nil then
Expand Down Expand Up @@ -78,7 +78,7 @@ local function TryImportCharacterMacros()
end

for i=1, numberOfCharacterMacros do
local name, _, body, _ = MegaMacroApiOverrides.Original.GetMacroInfo(i + MacroIndexOffsets.NativeCharacterMacros)
local name, _, body, _ = GetMacroInfo(i + MacroIndexOffsets.NativeCharacterMacros)
local macro = MegaMacro.Create(name, MegaMacroScopes.Character, MegaMacroTexture)

if macro == nil then
Expand Down

0 comments on commit c1561d7

Please sign in to comment.