diff --git a/Cargo.lock b/Cargo.lock index 76e8a76..2912bd1 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -135,7 +135,7 @@ dependencies = [ [[package]] name = "gmod" -version = "11.0.0" +version = "11.0.1" dependencies = [ "cfg_table 1.0.0", "cstr", diff --git a/gmod/Cargo.toml b/gmod/Cargo.toml index f067a6a..a5d520d 100644 --- a/gmod/Cargo.toml +++ b/gmod/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "gmod" -version = "11.0.0" +version = "11.0.1" authors = ["William Venner "] edition = "2018" license = "MIT" diff --git a/gmod/src/lua/import.rs b/gmod/src/lua/import.rs index b30a24b..c6664a1 100644 --- a/gmod/src/lua/import.rs +++ b/gmod/src/lua/import.rs @@ -261,7 +261,8 @@ impl LuaShared { pub unsafe fn find_lua_shared() -> (Library, &'static str) { crate::__private__gmod_rs__try_chained_open! { crate::open_library_raw!("garrysmod/bin/lua_shared_srv.so"), - crate::open_library_raw!("bin/linux32/lua_shared.so") + crate::open_library_raw!("bin/linux32/lua_shared.so"), + crate::open_library_raw!("garrysmod/bin/lua_shared.so") } .expect("Failed to find lua_shared.so or lua_shared_srv.so") }