diff options
author | 2017-02-05 16:01:50 +0100 | |
---|---|---|
committer | 2017-02-05 16:06:06 +0100 | |
commit | ac096aa2a0921efde96b76252dffb119dcf27efc (patch) | |
tree | 2ad9a28a7f6babce8cfcbf5995e3e055ff13ff60 /3rdparty/sol2/sol/stack_field.hpp | |
parent | 29df715138452ee18ba19ec4b07e18c4b3185de7 (diff) |
Update sol2 (nw)
Diffstat (limited to '3rdparty/sol2/sol/stack_field.hpp')
-rw-r--r-- | 3rdparty/sol2/sol/stack_field.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/3rdparty/sol2/sol/stack_field.hpp b/3rdparty/sol2/sol/stack_field.hpp index ca52f3dbdb7..48ebe99220d 100644 --- a/3rdparty/sol2/sol/stack_field.hpp +++ b/3rdparty/sol2/sol/stack_field.hpp @@ -51,7 +51,7 @@ namespace sol { struct field_getter<metatable_key_t, b, raw, C> { void get(lua_State* L, metatable_key_t, int tableindex = -1) { if (lua_getmetatable(L, tableindex) == 0) - push(L, nil); + push(L, lua_nil); } }; |