diff --git a/src/runner/instance.rs b/src/runner/instance.rs index d17d86e..88eec38 100644 --- a/src/runner/instance.rs +++ b/src/runner/instance.rs @@ -160,7 +160,7 @@ impl Instance{ let typed_value:f32=coerce_float32(&value).ok_or(mlua::Error::runtime("Expected f32"))?; instance.properties.insert(index_str.to_owned(),rbx_types::Variant::Float32(typed_value)); }, - other=>println!("Unimplemented property type: {other:?}"), + other=>return Err(mlua::Error::runtime(format!("Unimplemented property type: {other:?}"))), } Ok(()) })