Fix typeof function registry key not being unique

This commit is contained in:
Filip Tibell 2023-08-20 21:38:36 -05:00
parent 207f80973f
commit 59ed1bdae0
No known key found for this signature in database

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")?;