I got the PREFSMAN:GetPreference("GlobalOffsetSeconds") from UpdateDefaultGlobalOffset in SL-Helpers.lua, and from the tests I've done it works correctly.
Deleted the theme section in ThemePrefs.ini
Started SM5 with this theme set.
Started a game and got to the Song Selection screen
Went back to the Main Menu
Checked ThemePrefs.ini: DefaultGlobalOffsetSeconds was set to my machine's offset instead of a very nice value.
I think I have made the PR correctly, but it's my first PR on Github so I might have missed something. I'll fix it if that's the case! ^^
Fixes #28
I got the
PREFSMAN:GetPreference("GlobalOffsetSeconds")
from UpdateDefaultGlobalOffset in SL-Helpers.lua, and from the tests I've done it works correctly.I think I have made the PR correctly, but it's my first PR on Github so I might have missed something. I'll fix it if that's the case! ^^