1
0
Fork 0
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:
uramer 2024-02-03 15:39:28 +01:00
parent 72136e7e92
commit 891f3583fe

View file

@ -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,