fix crash with new users

This commit is contained in:
Charles Ewert 2023-12-06 11:26:55 -05:00
parent 074e7586e6
commit 7a53b4a4c7

View File

@ -158,6 +158,9 @@ namespace session
lastRunVersion = get_user_setting("LastRunVersion")
if isValid(lastRunVersion)
session.user.Update("LastRunVersion", lastRunVersion)
else
' new user whos never ran the app before. update lastrunversion in registry
set_user_setting("LastRunVersion", m.global.app.lastRunVersion)
end if
' update user session settings with values from registry