fix stack imbalance
This commit is contained in:
@@ -113,6 +113,7 @@ namespace LuaHelpers
|
|||||||
LuaHelpers::Pop( L, value );
|
LuaHelpers::Pop( L, value );
|
||||||
aOut.push_back( value );
|
aOut.push_back( value );
|
||||||
}
|
}
|
||||||
|
lua_pop( L, 1 ); // pop nil
|
||||||
}
|
}
|
||||||
template<class T>
|
template<class T>
|
||||||
void CreateTableFromArray( const vector<T> &aIn, lua_State *L )
|
void CreateTableFromArray( const vector<T> &aIn, lua_State *L )
|
||||||
|
|||||||
Reference in New Issue
Block a user