From 557aad6ec4bea86520b1684a08126439c074ad8b Mon Sep 17 00:00:00 2001 From: Quaternions Date: Thu, 17 Oct 2024 18:51:02 -0700 Subject: [PATCH] why is this necessary this time --- src/runner/runner.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/runner/runner.rs b/src/runner/runner.rs index 15d066f..d2ebcb4 100644 --- a/src/runner/runner.rs +++ b/src/runner/runner.rs @@ -41,6 +41,8 @@ fn init(lua:&mlua::Lua)->mlua::Result<()>{ super::number_sequence::set_globals(lua,&globals)?; super::color_sequence::set_globals(lua,&globals)?; + lua.register_userdata_type::(mlua::UserData::register)?; + Ok(()) }