From b2dbd84b019648d59df5046f154a30c10b6d7eca Mon Sep 17 00:00:00 2001 From: chai Date: Sun, 17 Mar 2019 11:47:43 +0800 Subject: *luax --- Source/Samples/LuaxTest/script.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Source/Samples/LuaxTest/script.lua') diff --git a/Source/Samples/LuaxTest/script.lua b/Source/Samples/LuaxTest/script.lua index 7cea38d..df6cbdf 100644 --- a/Source/Samples/LuaxTest/script.lua +++ b/Source/Samples/LuaxTest/script.lua @@ -91,10 +91,10 @@ function main() self.age = age - 1 self.name = boy:GetName() self.boy = boy - self.base.Ctor(self, age, name, boy) + self.__base.Ctor(self, age, name, boy) end Coo.GetName = function(self) - local name = self.base.GetName(self) + local name = self.__base.GetName(self) return "his name is " .. name end local coo2 = Coo.New(20, "Wang", kid) -- cgit v1.1-26-g67d0