Emit wire pulses in reverse reading order
Fixes the replay for CC2LP1 #67 Before My Very Eyes.
This commit is contained in:
1 parent
52bc2bdf8e
commit
a06f53af29
1 file changed
+1
-1
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user