diff --git a/src/runner/instance.rs b/src/runner/instance.rs index 70e17c3..0d70efb 100644 --- a/src/runner/instance.rs +++ b/src/runner/instance.rs @@ -23,7 +23,7 @@ fn place_id<'lua>(lua:&'lua mlua::Lua,tuple:mlua::MultiValue<'lua>)->mlua::Resul type FPointer=for<'lua> fn(&'lua mlua::Lua,mlua::MultiValue<'lua>)->mlua::Result>; static CLASS_FUNCTION_DATABASE:phf::Map<&str,phf::Map<&str,FPointer>>=phf::phf_map!{ "DataModel"=>phf::phf_map!{ - "GetService"=>|a,b|place_id(a,b), + "GetService"=>place_id as FPointer, } };