Skip to content

Commit f25bed2

Browse files
committed
Fix pipes total counter: reset on clear
1 parent 519a3f5 commit f25bed2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/screensaver.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,7 @@ impl Screensaver {
254254
self.state.layer_pieces_total = 0;
255255
self.state.pieces_total = 0;
256256
self.state.layers_drawn = 0;
257+
self.state.pipes_total = 0;
257258

258259
self.canv.clear();
259260
}

0 commit comments

Comments
 (0)