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(()) }