diff pytouhou/games/eosd.py @ 516:577c3a88fb67

Merge the lists Game.texts and Game.native_texts into the Game.texts dict.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Sun, 11 May 2014 20:25:07 +0200
parents 1bc014f9d572
children 7c3c90468996
line wrap: on
line diff
--- a/pytouhou/games/eosd.py
+++ b/pytouhou/games/eosd.py
@@ -136,7 +136,6 @@ class EoSDGame(Game):
         self.background = Background(self.std, background_anm)
 
         common.interface.start_stage(self, stage)
-        self.native_texts = [common.interface.stage_name, common.interface.song_name]
 
         Game.__init__(self, common.players, stage, rank, difficulty,
                       common.bullet_types, common.laser_types,
@@ -144,6 +143,9 @@ class EoSDGame(Game):
                       common.height, prng, common.interface, hints,
                       friendly_fire)
 
+        self.texts['stage_name'] = common.interface.stage_name
+        self.texts['song_name'] = common.interface.song_name
+
 
 
 class EoSDInterface(object):