From 3ec09cd995f8d92dbf73218ca2dd37ee5899cd88 Mon Sep 17 00:00:00 2001 From: William Venner Date: Mon, 25 Oct 2021 17:15:54 +0100 Subject: [PATCH] Fix borked lua state import --- gmod/Cargo.toml | 2 +- gmod/src/lua/import.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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"), } } }