Skip to content

Commit

Permalink
Ensure top-level __createindexmethod is called.
Browse files Browse the repository at this point in the history
TheNexusAvenger committed Feb 15, 2022
1 parent ebc009a commit 2d60fa5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/NexusInstance.lua
Original file line number Diff line number Diff line change
@@ -74,7 +74,7 @@ function NexusInstance:__InitMetaMethods()

--Set up custom indexing.
local Metatable = {}
local IndexMethod = self:__createindexmethod(self.object, self.class, self.class)
local IndexMethod = self.object:__createindexmethod(self.object, self.class, self.class)
Metatable.__index = IndexMethod
setmetatable(self.object, Metatable)

0 comments on commit 2d60fa5

Please sign in to comment.