Fix typeof function registry key not being unique

This commit is contained in:
Filip Tibell 2023-08-20 21:38:36 -05:00
parent 49864eb162
commit 70caf89295

View file

@ -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<impl IntoLua<'_>> {
let original = lua.globals().get::<_, LuaFunction>("typeof")?;