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); }