From df36de901c8f201e8688f1cb03dfc2a7d3c14cec Mon Sep 17 00:00:00 2001 From: rainlizard <15337628+rainlizard@users.noreply.github.com> Date: Tue, 30 Jul 2024 00:36:46 +1000 Subject: [PATCH] column count set correctly for classic format --- Scenes/ReadData.gd | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Scenes/ReadData.gd b/Scenes/ReadData.gd index ea804710..8050badc 100644 --- a/Scenes/ReadData.gd +++ b/Scenes/ReadData.gd @@ -203,7 +203,10 @@ func read_clm(buffer): oDataClm.cubes[entry][cubeNumber] = buffer.get_u16() # 8-23 func new_clm(): - oDataClm.column_count = 8192 + if oCurrentFormat.selected == Constants.ClassicFormat: + oDataClm.column_count = 2048 + else: + oDataClm.column_count = 8192 oDataClm.clear_all_column_data() for entry in oDataClm.column_count: