Allow Windows UI options to work in most places.

This makes it so you can change language from the pause screen, etc.
This commit is contained in:
Unknown W. Brackets committed 2016-09-28 22:37:36 -07:00
1 parent 5ae511a1ae
commit e989e5f44c
3 files changed
+38 -8

No files matched your search

+1
View File
@@ -452,6 +452,7 @@ UI::EventReturn GamePauseScreen::OnDeleteConfig(UI::EventParams &e)
void GamePauseScreen::sendMessage(const char *message, const char *value) {
UIDialogScreenWithGameBackground::sendMessage(message, value);
// Since the language message isn't allowed to be in native, we have to have add this
// to every screen which directly inherits from UIScreen(which are few right now, luckily).
if (!strcmp(message, "language")) {