Commit d25d95f5b6f4123348fab8c8f7d7bce5adb7ec62

Authored by DarkGod
1 parent 03468490

update

@@ -36,7 +36,7 @@ function _M:init() @@ -36,7 +36,7 @@ function _M:init()
36 self.c_switch = Checkbox.new{default=false, width=math.floor(self.iw / 3 - 40), title="Show all versions", on_change=function() self:switch() end} 36 self.c_switch = Checkbox.new{default=false, width=math.floor(self.iw / 3 - 40), title="Show all versions", on_change=function() self:switch() end}
37 self.c_compat = Checkbox.new{default=false, width=math.floor(self.iw / 3 - 40), title="Show incompatible", on_change=function() self:switch() end} 37 self.c_compat = Checkbox.new{default=false, width=math.floor(self.iw / 3 - 40), title="Show incompatible", on_change=function() self:switch() end}
38 38
39 - local url = Textzone.new{text="You can get new games at #LIGHT_BLUE##{underline}#http://te4.org/games#{normal}#", auto_height=true, auto_width=true, fct=function() util.browserOpenUrl("http://te4.org/games") end} 39 + local url = Textzone.new{text="You can get new games at\n#LIGHT_BLUE##{underline}#http://te4.org/games#{normal}#", auto_height=true, auto_width=true, fct=function() util.browserOpenUrl("http://te4.org/games") end}
40 40
41 self:generateList() 41 self:generateList()
42 42
@@ -73,7 +73,7 @@ function _M:on_register() @@ -73,7 +73,7 @@ function _M:on_register()
73 not profile.generic or 73 not profile.generic or
74 not profile.generic.modules_played or 74 not profile.generic.modules_played or
75 not profile.generic.modules_played.tome or 75 not profile.generic.modules_played.tome or
76 - profile.generic.modules_played.tome < 5 * 60 * 60 76 + profile.generic.modules_played.tome < 20 * 60 * 60
77 ) 77 )
78 then 78 then
79 game:unregisterDialog(self) 79 game:unregisterDialog(self)