diff options
author | Kae <80987908+Novaenia@users.noreply.github.com> | 2023-07-25 00:49:20 +1000 |
---|---|---|
committer | Kae <80987908+Novaenia@users.noreply.github.com> | 2023-07-25 00:49:20 +1000 |
commit | ea084165bf2f414a49a559ddf5921b9073fc464c (patch) | |
tree | c8f1263d9e11600f3632df2d0202cb884673c97e /source/core/StarLuaConverters.hpp | |
parent | 8547c56ba4607e1c4efac483f97f01b8ba8c3a01 (diff) |
Optimize entityPortrait: Drawable > LuaTable instead of Drawable > Json > LuaTable
Diffstat (limited to 'source/core/StarLuaConverters.hpp')
-rw-r--r-- | source/core/StarLuaConverters.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/core/StarLuaConverters.hpp b/source/core/StarLuaConverters.hpp index 72ab763..3270d16 100644 --- a/source/core/StarLuaConverters.hpp +++ b/source/core/StarLuaConverters.hpp @@ -15,16 +15,16 @@ template <typename T> struct LuaConverter<LuaNullTermWrapper<T>> : LuaConverter<T> { static LuaValue from(LuaEngine& engine, LuaNullTermWrapper<T>&& v) { auto enforcer = engine.nullTerminate(); - return LuaConverter<T>::from(std::forward<T>(v)); + return LuaConverter<T>::from(engine, std::forward<T>(v)); } static LuaValue from(LuaEngine& engine, LuaNullTermWrapper<T> const& v) { auto enforcer = engine.nullTerminate(); - return LuaConverter<T>::from(v); + return LuaConverter<T>::from(engine, v); } static LuaNullTermWrapper<T> to(LuaEngine& engine, LuaValue const& v) { - return LuaConverter<T>::to(v); + return LuaConverter<T>::to(engine, v); } }; |