Downloaded from https://anonscm.debian.org/viewvc/pkg-games/packages/trunk/kiki-the-nano-bot/debian/patches/level-selection-with-no-levels-solved.patch?revision=8291&view=co Kiki crashes if the user tries to use the level selection menu before finishing any level. Peter De Wachter (pdewacht@gmail.com) placed in the public domain --- a/py/levelselection.py +++ b/py/levelselection.py @@ -25,6 +25,8 @@ # ............................................................................................................ last_level = highscore.getLastAvailableLevel() + if last_level < 0: + last_level = 0 current_level = (level_index >= 0) and level_index or last_level world.max_level_index = last_level > Wojtek's customized Guix
aboutsummaryrefslogtreecommitdiff
path: root/tests/cpan.scm
AgeCommit message (Expand)Author
2019-08-22Revert "import: cpan: Adapt for the change to guile-json version 3."...This reverts commit 01ce7af25add55514f737af48ea6c127bedfde67. Mark H Weaver
2019-08-21import: cpan: Adapt for the change to guile-json version 3....In guile-json version 3, JSON objects are represented as hash tables, rather than alists. * guix/import/cpan.scm (string->license): Change the match expression to match on lists, rather than vectors. (module->dist-name, cpan-source-url, cpan-version): Change assoc-ref to hash-ref. (cpan-module->sexp): Change assoc-ref to hash-ref, and assoc-ref* to hash-ref*. * tests/cpan.scm ("source-url-http", "source-url-https"): Convert the alist to a hash table. Christopher Baines