Skip to content

Commit

Permalink
fix issue pioneerspacesim#4755 (save game dialog)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gliese852 committed Jan 2, 2020
1 parent 436db08 commit c0d1cb6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion data/pigui/modules/settings-window.lua
Expand Up @@ -559,7 +559,10 @@ local function optionsWindow()

if Game.player then
ui.sameLine()
optionTextButton(lui.SAVE, nil, true, function() ui.showSavedGameWindow = "SAVE" end)
optionTextButton(lui.SAVE, nil, true, function()
ui.showOptionsWindow = false
ui.showSavedGameWindow = "SAVE"
end)

ui.sameLine()
optionTextButton(lui.END_GAME, nil, true, function()
Expand Down

0 comments on commit c0d1cb6

Please sign in to comment.