Skip to content

Commit c1ed7d6

Browse files
committed
fix: shifting layers incorrectly clearing one of the layers
1 parent 21ec3dc commit c1ed7d6

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

scripts/selection_code_update/selection_code_update.gml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,10 @@ function selection_code_update() {
33
// Updates the selection code
44
var a, b, ca, cb;
55

6-
if (selected = 0) ds_list_clear(selected_layers) return 0
6+
if (selected = 0) {
7+
ds_list_clear(selected_layers)
8+
return 0
9+
}
710
ca = 0
811

912
var _selection_l = selection_l

0 commit comments

Comments
 (0)