Emit wire pulses in reverse reading order
Fixes the replay for CC2LP1 #67 Before My Very Eyes.
This commit is contained in:
parent
52bc2bdf8e
commit
a06f53af29
@ -668,7 +668,7 @@ export class Level extends LevelInterface {
|
||||
}
|
||||
}
|
||||
this.wired_outputs = Array.from(wired_outputs);
|
||||
this.wired_outputs.sort((a, b) => this.coords_to_scalar(a.cell.x, a.cell.y) - this.coords_to_scalar(b.cell.x, b.cell.y));
|
||||
this.wired_outputs.sort((a, b) => this.coords_to_scalar(b.cell.x, b.cell.y) - this.coords_to_scalar(a.cell.x, a.cell.y));
|
||||
|
||||
if (! first_time) {
|
||||
// Update wireables
|
||||
|
||||
Loading…
Reference in New Issue
Block a user