Skip to content

Commit

Permalink
refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
cflavio committed Feb 23, 2017
1 parent 4a724bc commit 307081e
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion menu/ingamemenu/ingamepage.py
Expand Up @@ -42,7 +42,7 @@ def build_page(self):
def on_end(self, back_to_game):
if back_to_game:
game.fsm.race.event.register_menu()
eng.gui.hide_cursor()
eng.gui.cursor.hide()
self.mdt.destroy()
else:
if game.fsm.race.fsm.getCurrentOrNextState() != 'Results':
Expand Down
2 changes: 1 addition & 1 deletion menu/inputpage.py
Expand Up @@ -3,7 +3,7 @@
from direct.gui.DirectLabel import DirectLabel
from panda3d.core import TextNode
from yyagl.engine.gui.page import Page, PageEvent, PageGui
from yyagl.engine.event import has_pygame
from yyagl.engine.joystick import has_pygame
from direct.gui.DirectButton import DirectButton
import string

Expand Down
4 changes: 3 additions & 1 deletion yorg/yorg.py
Expand Up @@ -52,7 +52,9 @@ def __init__(self):
antialiasing=self.options['settings']['aa'],
lang=self.options['settings']['lang'],
mt_render=self.options['development']['multithreaded_render'],
lang_domain='yorg')
lang_domain='yorg',
shaders=self.options['development']['shaders'],
gamma=self.options['development']['gamma'])
init_lst = [
[('fsm', self.fsm_cls, [self])],
[('logic', YorgLogic, [self])],
Expand Down
2 changes: 1 addition & 1 deletion yyagl
Submodule yyagl updated from 369e2a to f43c42

0 comments on commit 307081e

Please sign in to comment.