Skip to content

Commit 713fdb7

Browse files
committed
Fix crash on schematic export
Wrong 2D array access syntax, accepted in GMS 2.2.5 but refused in 2.3. Fixes #220
1 parent fe6a1d8 commit 713fdb7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/calculate_size/calculate_size.gml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ function calculate_size() {
7575
for (b = 0; b < 2; b += 1) {
7676
if (a <= scp_exp_enda[b]) {
7777
sch_exp_repeaters[b, 2] += 1
78-
if (sch_colamount[a] > 0) {
78+
if (sch_colamount[b, a] > 0) {
7979
sch_exp_repeaters[b, 0] += 1
8080
cnt[b, 0] = 0
8181
sch_exp_repeaters[b, 1] += 1

0 commit comments

Comments
 (0)