From d29f5f4aebd90b1e256967801b28a5990249b2e7 Mon Sep 17 00:00:00 2001 From: chai Date: Sat, 16 Mar 2019 19:29:23 +0800 Subject: *luax --- Source/3rdParty/Luax/luax_state.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Source/3rdParty/Luax/luax_state.cpp') diff --git a/Source/3rdParty/Luax/luax_state.cpp b/Source/3rdParty/Luax/luax_state.cpp index 1414591..a60a021 100644 --- a/Source/3rdParty/Luax/luax_state.cpp +++ b/Source/3rdParty/Luax/luax_state.cpp @@ -100,9 +100,9 @@ namespace Luax return idx; } - int LuaxState::Call(int nArgs, int nResults) + void LuaxState::Call(int nArgs, int nResults) { - return 0; + lua_pcall(mState, nArgs, nResults, 0); } void LuaxState::PushNil() -- cgit v1.1-26-g67d0