Skip to content

Commit

Permalink
Merge pull request #12 from FloofyPlasma/main
Browse files Browse the repository at this point in the history
Fix property setting
  • Loading branch information
jmesrje authored Jan 10, 2025
2 parents d127ad9 + aa58eca commit ba8d779
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/new.luau
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ return (

if props then
for prop, value in props :: any do
if prop == "Parent" or "Name" then
if prop == "Parent" or prop == "Name" then
continue
end
Apply(New, prop, value)
Expand Down

0 comments on commit ba8d779

Please sign in to comment.