From f61c0b039d3728115a3c1d52239d96cc8ef3a3d0 Mon Sep 17 00:00:00 2001 From: ZacharyPatten Date: Sat, 28 Oct 2023 14:23:50 -0500 Subject: [PATCH] removed unnecessary clones --- Projects/Tetris/Program.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Projects/Tetris/Program.cs b/Projects/Tetris/Program.cs index ed0ec9d9..80a719d3 100644 --- a/Projects/Tetris/Program.cs +++ b/Projects/Tetris/Program.cs @@ -273,8 +273,8 @@ void DrawFrame() { bool collision = false; int yScope = TETROMINO.Y; - string[] shapeScope = (string[])TETROMINO.Shape.Clone(); - string[] nextShapeScope = (string[])TETROMINO.Next.Clone(); + string[] shapeScope = TETROMINO.Shape; + string[] nextShapeScope = TETROMINO.Next; char[][] frame = new char[PLAYFIELD.Length][]; //Field