mirror of
https://github.com/lune-org/lune.git
synced 2025-01-06 11:29:11 +00:00
Fix typeof function registry key not being unique
This commit is contained in:
parent
49864eb162
commit
70caf89295
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@ use mlua::prelude::*;
|
||||||
|
|
||||||
use crate::roblox::datatypes::extension::RobloxUserdataTypenameExt;
|
use crate::roblox::datatypes::extension::RobloxUserdataTypenameExt;
|
||||||
|
|
||||||
const REGISTRY_KEY: &str = "NetClient";
|
const REGISTRY_KEY: &str = "LuauTypeof";
|
||||||
|
|
||||||
pub fn create(lua: &Lua) -> LuaResult<impl IntoLua<'_>> {
|
pub fn create(lua: &Lua) -> LuaResult<impl IntoLua<'_>> {
|
||||||
let original = lua.globals().get::<_, LuaFunction>("typeof")?;
|
let original = lua.globals().get::<_, LuaFunction>("typeof")?;
|
||||||
|
|
Loading…
Reference in a new issue