mirror of
https://github.com/OpenMW/openmw.git
synced 2025-04-17 20:06:45 +00:00
Only reset settings when there is no game, not on game end / player death
This commit is contained in:
parent
72136e7e92
commit
891f3583fe
1 changed files with 1 additions and 1 deletions
|
@ -502,7 +502,7 @@ return {
|
||||||
if menu.getState() == menu.STATE.Running then
|
if menu.getState() == menu.STATE.Running then
|
||||||
updatePlayerGroups()
|
updatePlayerGroups()
|
||||||
updateGlobalGroups()
|
updateGlobalGroups()
|
||||||
else
|
elseif menu.getState() == menu.STATE.NoGame then
|
||||||
resetPlayerGroups()
|
resetPlayerGroups()
|
||||||
end
|
end
|
||||||
end,
|
end,
|
||||||
|
|
Loading…
Reference in a new issue