From a79312b22f5701fd804b711157ff3ac0bcfb0515 Mon Sep 17 00:00:00 2001 From: Manuel QuiƱones Date: Thu, 01 Sep 2011 00:00:07 +0000 Subject: 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 Signed-off-by: Rafael Ortiz --- (limited to 'activity.py') 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 -- cgit v0.9.1