Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/activity.py
diff options
context:
space:
mode:
authorManuel QuiƱones <manuq@laptop.org>2011-09-01 00:00:07 (GMT)
committer Rafael Ortiz <rafael@activitycentral.com>2011-09-01 15:36:39 (GMT)
commita79312b22f5701fd804b711157ff3ac0bcfb0515 (patch)
treec1cdb1039ff20a1d0907a5d9fc8620515685151f /activity.py
parent7651f13ac86304e76e7e3499e2991163bc1ac596 (diff)
Maze: fix to make activity start again
The game_name attribute of PyGameActivity seems to be changed accidentally from 'game' to 'maze'. As the docstring of PyGameActivity class states, game_name needs to match the name of a module that contains the game loop in a function called main. TIP: please test at least if the activity start before commit :) Signed-off-by: Manuel QuiƱones <manuq@laptop.org> Signed-off-by: Rafael Ortiz <rafael@activitycentral.com>
Diffstat (limited to 'activity.py')
-rwxr-xr-xactivity.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/activity.py b/activity.py
index dbf6940..f21efdd 100755
--- a/activity.py
+++ b/activity.py
@@ -4,6 +4,6 @@ from gettext import gettext as _
class MazeActivity(olpcgames.PyGameActivity):
- game_name = 'maze'
+ game_name = 'game'
game_title = _('Maze')
game_size = None # let olpcgames pick a nice size for us