Skip to content

Commit

Permalink
Set the default theme to MegaLight V4.
Browse files Browse the repository at this point in the history
  • Loading branch information
stump committed Sep 2, 2010
1 parent 773e449 commit d84e07f
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/GameEngine.py
Expand Up @@ -388,9 +388,7 @@ def sortOptionsByKey(dict):
for name in allthemes:
if os.path.exists(os.path.join(themepath,name,"notes.png")):
themes.append(name)
if name == "MegaLight" and defaultTheme != "Rock Band 1": #myfingershurt
defaultTheme = name #myfingershurt
if name == "Rock Band 1": #myfingershurt
if name == "MegaLight V4": #myfingershurt
defaultTheme = name #myfingershurt

i = len(themes)
Expand All @@ -403,7 +401,7 @@ def sortOptionsByKey(dict):
Log.error("No valid theme found!")
sys.exit(1);

if defaultTheme != "MegaLight" and defaultTheme != "Rock Band 1": #myfingershurt
if defaultTheme is None:
defaultTheme = themes[0] #myfingershurt

#myfingershurt: default theme must be an existing one!
Expand Down

0 comments on commit d84e07f

Please sign in to comment.