From 327f036713cc2bbda5c5661eac6784c8e97caa9b Mon Sep 17 00:00:00 2001 From: Miguel Terol Espino Date: Tue, 16 Jul 2024 12:40:50 +0200 Subject: [PATCH] Fix accuracy using power --- DS_Map/Editors/LevelScriptEditor.cs | 2 +- DS_Map/Editors/MoveDataEditor.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/DS_Map/Editors/LevelScriptEditor.cs b/DS_Map/Editors/LevelScriptEditor.cs index 1903b5d..9f1cafc 100644 --- a/DS_Map/Editors/LevelScriptEditor.cs +++ b/DS_Map/Editors/LevelScriptEditor.cs @@ -127,7 +127,7 @@ namespace DSPRE.Editors { listBoxTriggers.DataSource = _levelScriptFile.bufferSet; if (listBoxTriggers.Items.Count > 0){ listBoxTriggers.SelectedIndex = 0; } - + // Check for 318767104 enableButtons(); } catch (InvalidDataException ex) { //not a level script disableButtons(); diff --git a/DS_Map/Editors/MoveDataEditor.cs b/DS_Map/Editors/MoveDataEditor.cs index 7a83df6..12aefe3 100644 --- a/DS_Map/Editors/MoveDataEditor.cs +++ b/DS_Map/Editors/MoveDataEditor.cs @@ -274,7 +274,7 @@ namespace DSPRE { return; } - currentLoadedFile.accuracy = (byte)powerNumericUpDown.Value; + currentLoadedFile.accuracy = (byte)accuracyNumericUpDown.Value; setDirty(true); }