Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
games
krank
krank-0.7-fixed_changing_level_by_level.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File krank-0.7-fixed_changing_level_by_level.patch of Package krank
--- src/Config.py 2009-03-09 15:03:30.000000000 +0300 +++ src/Config.py 2009-03-09 15:36:35.000000000 +0300 @@ -75,12 +75,8 @@ #------------------------------------------------------------------------------------------- def makeLevelAvailable (self): - for i in range(2): - for stage_index in range(3): - scores = self['scores'][stage_index] - if len(scores) < levels.numLevels: - scores.append({'time': sys.maxint, 'score': sys.maxint}) - break + if len(self['scores'][self.stage - 1]) < levels.numLevels: + self['scores'][self.stage - 1].append({'time': sys.maxint, 'score': sys.maxint}) #------------------------------------------------------------------------------------------- def apply(self):
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor