From 7711c6b4148d06e8f692e288dbc2d9fa10273044 Mon Sep 17 00:00:00 2001 From: nutbuster <nutbuster@cock.li> Date: Mon, 7 Nov 2022 12:08:21 +1100 Subject: [PATCH] Remove unneeded width & height --- game/src/translation.rpy | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/game/src/translation.rpy b/game/src/translation.rpy index af917a6..ac78f52 100644 --- a/game/src/translation.rpy +++ b/game/src/translation.rpy @@ -29,7 +29,7 @@ init python: SMALL_SPACING = (LARGE_SPACING[0]//2, LARGE_SPACING[1]//2) class LangButton(renpy.Displayable): - def __init__(self, v, w, h, child, **kwargs): + def __init__(self, v, child, **kwargs): super(LangCave.LangButton, self).__init__(**kwargs) #self.childs = [] @@ -120,7 +120,7 @@ init python: # = Solid((22,22,22), xysize=size) _button = Fixed(tfi, xysize=size) lang = Language(llb['value']) - button = LangCave.LangButton(lang, *size, _button) + button = LangCave.LangButton(lang, _button) LangCave.on_disable_interactable = True @@ -157,7 +157,7 @@ init python: #print(dir(penultimate)) lang = Language(llb['value']) - button = LangCave.LangButton(lang, *size, penultimate) + button = LangCave.LangButton(lang, penultimate) if (_preferences.language == llb['value']): button.selected = True