From f5c8077fb2021eaae5b9ca1589987dbe434a1848 Mon Sep 17 00:00:00 2001
From: Cameron Taylor <cameron.taylor.ninja@gmail.com>
Date: Tue, 13 Oct 2020 18:51:53 -0700
Subject: [PATCH] got prototyping shit workin to an extent

---
 source/PlayState.hx | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/source/PlayState.hx b/source/PlayState.hx
index 2bdb38cc9..e0b941c71 100644
--- a/source/PlayState.hx
+++ b/source/PlayState.hx
@@ -243,7 +243,7 @@ class PlayState extends MusicBeatState
 		notes = new FlxTypedGroup<Note>();
 		add(notes);
 
-		var noteData:Array<Dynamic> = [];
+		var noteData:Array<Section> = [];
 
 		// NEW SHIT
 		noteData = songData.notes;
@@ -261,8 +261,9 @@ class PlayState extends MusicBeatState
 			var totalLength:Int = 0; // Total length of the song, in beats;
 			for (section in noteData)
 			{
-				var dumbassSection:Array<Dynamic> = section;
-				var coolSection:Int = Std.int(section.length / 4);
+				var dumbassSection:Array<Dynamic> = section.notes;
+
+				var coolSection:Int = Std.int(section.lengthInSteps / 4);
 
 				if (coolSection <= 4) // FIX SINCE MOST THE SHIT I MADE WERE ONLY 3 HTINGS LONG LOl
 					coolSection = 4;