reimplement "SyncBias" as something that tells us the sync of the pack so we may adjust accordingly rather than the blanket sync to apply to the pack.
This commit is contained in:
+3
-1
@@ -43,7 +43,7 @@ Group::Group(const RString& sDir, const RString& sGroupDirName) {
|
||||
RString Series = "";
|
||||
RString bannerPath = "";
|
||||
RString authorsNotes = "";
|
||||
float fOffset = PREFSMAN->m_fDefaultGroupOffsetSeconds;
|
||||
float fOffset = PREFSMAN->m_fMachineSyncBias;
|
||||
|
||||
if (FILEMAN->DoesFileExist(sPackIniPath)) {
|
||||
IniFile ini;
|
||||
@@ -83,7 +83,9 @@ Group::Group(const RString& sDir, const RString& sGroupDirName) {
|
||||
ini.GetValue("Group", "AuthorsNotes", authorsNotes);
|
||||
} else {
|
||||
m_bHasPackIni = false;
|
||||
fOffset = PREFSMAN->m_fMachineSyncBias;
|
||||
}
|
||||
|
||||
|
||||
// Look for a group banner in this group folder
|
||||
std::vector<RString> arrayGroupBanners;
|
||||
|
||||
Reference in New Issue
Block a user