Fix free trial check
This commit is contained in:
parent
619e64159c
commit
b3143fa420
1 changed files with 1 additions and 1 deletions
2
main.cpp
2
main.cpp
|
@ -22,7 +22,7 @@ int main(int argc, char *argv[]) {
|
|||
return;
|
||||
}
|
||||
|
||||
const bool freeTrial = req.get_param_value_count("ft") == 1;
|
||||
const bool freeTrial = req.get_param_value("ft") == "1";
|
||||
|
||||
if (freeTrial) {
|
||||
putenv("SteamAppId=312060");
|
||||
|
|
Loading…
Add table
Reference in a new issue