Fix loading Lua state on Linux 32-bit client
This commit is contained in:
parent
e20834fbeb
commit
81369ac975
|
@ -135,7 +135,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "gmod"
|
||||
version = "11.0.0"
|
||||
version = "11.0.1"
|
||||
dependencies = [
|
||||
"cfg_table 1.0.0",
|
||||
"cstr",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "gmod"
|
||||
version = "11.0.0"
|
||||
version = "11.0.1"
|
||||
authors = ["William Venner <william@venner.io>"]
|
||||
edition = "2018"
|
||||
license = "MIT"
|
||||
|
|
|
@ -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")
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue