Bastien Sevajol 6 years ago
parent
commit
2095c20e9a
1 changed files with 10 additions and 4 deletions
  1. 10 4
      opencombat/gui/base.py

+ 10 - 4
opencombat/gui/base.py View File

@@ -234,10 +234,16 @@ class Game(TMXGui):
234 234
             self.subject_die,
235 235
         )
236 236
 
237
-        # configs
238
-        self.move_duration_ref = float(self.config.resolve('game.move.walk_ref_time'))
239
-        self.move_fast_duration_ref = float(self.config.resolve('game.move.run_ref_time'))
240
-        self.move_crawl_duration_ref = float(self.config.resolve('game.move.crawl_ref_time'))
237
+        # configs / resources
238
+        self.move_duration_ref = float(self.config.resolve(
239
+            'game.move.walk_ref_time',
240
+        ))
241
+        self.move_fast_duration_ref = float(self.config.resolve(
242
+            'game.move.run_ref_time',
243
+        ))
244
+        self.move_crawl_duration_ref = float(self.config.resolve(
245
+            'game.move.crawl_ref_time',
246
+        ))
241 247
 
242 248
     def before_run(self) -> None:
243 249
         from opencombat.gui.move import MoveActorInteraction