Skip to content

Commit 1df3f97

Browse files
committed
Fixed config bug with ForceSuccess options
1 parent 0c2db6f commit 1df3f97

4 files changed

Lines changed: 7 additions & 7 deletions

File tree

Config/src/Config.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ std::map<std::string, std::map<std::string, void*>> configMap = {
4949
}},
5050
{"DLC", {
5151
{"UnlockAllDLC", &bUnlockAllDLC},
52-
{"OfflineSupport", &bForceSuccess},
52+
{"ForceSuccess", &bForceSuccess},
5353
}},
5454
};
5555

@@ -99,7 +99,7 @@ void init(const std::wstring iniPath){
9999
int parseResult = ini_wparse(iniPath.c_str(), iniHandler, 0);
100100

101101
if(parseResult != 0 && parseResult != -1){
102-
showError("Unexpected config parse result: " + std::to_string(parseResult));
102+
showError("Unexpected config parse result at line: " + std::to_string(parseResult));
103103
exit(1);
104104
}
105105
}

ScreamAPI/ScreamAPI.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
; ScreamAPI Config File v1.10.2-1
1+
; ScreamAPI Config File v1.10.2-2
22

33
; Official ScreamAPI forum topic: https://cs.rin.ru/forum/viewtopic.php?f=29&t=106474
44
; Latest release download link: https://github.com/acidicoala/ScreamAPI/releases/latest

ScreamAPI/resources/ScreamAPI.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
33
<ImportGroup Label="PropertySheets" />
44
<PropertyGroup Label="UserMacros">
5-
<ScreamApiVersion>1.10.2-1</ScreamApiVersion>
5+
<ScreamApiVersion>1.10.2-2</ScreamApiVersion>
66
</PropertyGroup>
77
<PropertyGroup />
88
<ItemDefinitionGroup />

ScreamAPI/resources/ScreamAPI.rc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ END
5151
//
5252

5353
VS_VERSION_INFO VERSIONINFO
54-
FILEVERSION 1,10,2,1
55-
PRODUCTVERSION 1,10,2,1
54+
FILEVERSION 1,10,2,2
55+
PRODUCTVERSION 1,10,2,2
5656
FILEFLAGSMASK 0x3fL
5757
#ifdef _DEBUG
5858
FILEFLAGS 0x1L
@@ -74,7 +74,7 @@ BEGIN
7474
VALUE "LegalCopyright", "Fuck the copyright >:D"
7575
VALUE "OriginalFilename", "ScreamAPI.dll"
7676
VALUE "ProductName", "ScreamAPI"
77-
VALUE "ProductVersion", "1.10.2-1"
77+
VALUE "ProductVersion", "1.10.2-2"
7878
END
7979
END
8080
BLOCK "VarFileInfo"

0 commit comments

Comments
 (0)