[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#26460: [PATCH 2/2] gnu: Add kiki.
From: |
Leo Famulari |
Subject: |
bug#26460: [PATCH 2/2] gnu: Add kiki. |
Date: |
Wed, 12 Apr 2017 11:53:54 -0400 |
User-agent: |
Mutt/1.8.0 (2017-02-23) |
On Wed, Apr 12, 2017 at 11:33:52AM +0200, Ricardo Wurmus wrote:
> --- /dev/null
> +++ b/gnu/packages/patches/kiki-level-selection-crash.patch
> @@ -0,0 +1,19 @@
> +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 (address@hidden)
> +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
Yikes :)