Commit f9bc2ee
authored
Fix bug in clean_game
I noticed a bug in `clean_game` in that if there is more than one variation, only the first is deleted because of deleting from a list during iteration. The fix was simple: use a reversed iterator to delete starting from the end instead.1 parent 6a6ae60 commit f9bc2ee
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
390 | 390 | | |
391 | 391 | | |
392 | 392 | | |
393 | | - | |
| 393 | + | |
394 | 394 | | |
395 | 395 | | |
396 | 396 | | |
| |||
0 commit comments