From cd08fc4e283197a47dbb6f2fc8b31134da656083 Mon Sep 17 00:00:00 2001 From: Kampfkarren Date: Sun, 28 Apr 2024 13:06:15 -0700 Subject: [PATCH] Fix Instance.new second parameter being required --- selene/src/roblox/generate_std.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/selene/src/roblox/generate_std.rs b/selene/src/roblox/generate_std.rs index 95481024..5a7384c2 100644 --- a/selene/src/roblox/generate_std.rs +++ b/selene/src/roblox/generate_std.rs @@ -270,7 +270,7 @@ impl RobloxGenerator { }, Argument { argument_type: ArgumentType::Display("Instance".to_string()), - required: Required::Required(None), + required: Required::NotRequired, observes: Observes::ReadWrite, deprecated: Some(Deprecated { message: "set the instance's parent separately".to_owned(),