From 70caf892952b8ce99c4f56878d313b108cde655c Mon Sep 17 00:00:00 2001 From: Filip Tibell Date: Sun, 20 Aug 2023 21:38:36 -0500 Subject: [PATCH] Fix typeof function registry key not being unique --- src/lune/globals/typeof.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lune/globals/typeof.rs b/src/lune/globals/typeof.rs index 2d9b91a..f4f4631 100644 --- a/src/lune/globals/typeof.rs +++ b/src/lune/globals/typeof.rs @@ -2,7 +2,7 @@ use mlua::prelude::*; use crate::roblox::datatypes::extension::RobloxUserdataTypenameExt; -const REGISTRY_KEY: &str = "NetClient"; +const REGISTRY_KEY: &str = "LuauTypeof"; pub fn create(lua: &Lua) -> LuaResult> { let original = lua.globals().get::<_, LuaFunction>("typeof")?;