forked from Cavemanon/SnootGame
Confirmation fix
This commit is contained in:
parent
66258d6c62
commit
b80ec30915
|
@ -79,10 +79,9 @@ init python:
|
|||
|
||||
oldlang = _preferences.language
|
||||
|
||||
self.function()
|
||||
if (self.value): #check if it's not english
|
||||
self.function()
|
||||
else:
|
||||
Confirm(_("Sample Text"), self.function())()
|
||||
Confirm(_("Sample Text"), None, Language(oldlang))
|
||||
|
||||
if LangCave.on_disable_interactable:
|
||||
if oldlang == _preferences.language:
|
||||
|
|
Loading…
Reference in New Issue