diff --git a/gmod/Cargo.toml b/gmod/Cargo.toml index 8e63f58..a32110d 100644 --- a/gmod/Cargo.toml +++ b/gmod/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "gmod" -version = "7.0.1" +version = "7.0.2" authors = ["William Venner "] edition = "2018" license = "MIT" diff --git a/gmod/src/lua/import.rs b/gmod/src/lua/import.rs index cd05a3e..c7f3197 100644 --- a/gmod/src/lua/import.rs +++ b/gmod/src/lua/import.rs @@ -236,7 +236,7 @@ impl LuaShared { lua_next: find_symbol!("lua_next"), lua_topointer: find_symbol!("lua_topointer"), lua_newuserdata: find_symbol!("lua_newuserdata"), - lual_newmetatable: find_symbol!("lual_newmetatable"), + lual_newmetatable: find_symbol!("luaL_newmetatable"), } } }