Skip to content

Commit

Permalink
<fix> fix error in old version of renpy
Browse files Browse the repository at this point in the history
  • Loading branch information
anonymousException committed Jul 16, 2024
1 parent 1a350af commit a6ecfb8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/hook_add_change_language_entrance.rpy
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ init python early hide:

screen my_preferences():
python:
global os
import os
def traverse_first_dir(path):
translator = renpy.game.script.translator
languages = translator.languages
Expand All @@ -59,7 +61,6 @@ screen my_preferences():
hbox:
box_wrap True
vbox:
style_prefix "radio"
label _("Language")
textbutton "Default" action Language(None)
$ cnt = 0
Expand Down

0 comments on commit a6ecfb8

Please sign in to comment.