public void EndPCall() { if (this.oldTop != -1) { this.luaState.EndPCall(this.oldTop); this.argCount = 0; LuaFunction.FuncData funcData = this.stack.Pop(); this.oldTop = funcData.oldTop; this.stackPos = funcData.stackPos; } }