Skip to content

Commit

Permalink
use local var instead of global
Browse files Browse the repository at this point in the history
Co-authored-by: Jimi <jimi@thedodgefamily.com>
  • Loading branch information
cewert and jimdogx authored Oct 17, 2024
1 parent e90a66d commit 6b3466f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/Main.bs
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ sub Main (args as dynamic) as void
if not m.global.app.isDev
' has the current user ran this version before?
usersLastRunVersion = m.global.session.user.settings.lastRunVersion
if not isValid(usersLastRunVersion) or not versionChecker(m.global.session.user.settings.lastRunVersion, m.global.app.version)
if not isValid(usersLastRunVersion) or not versionChecker(usersLastRunVersion, m.global.app.version)
set_user_setting("LastRunVersion", m.global.app.version)
' show what's new popup
if m.global.session.user.settings["load.allowwhatsnew"]
Expand Down

0 comments on commit 6b3466f

Please sign in to comment.