Fix bad function call

This commit is contained in:
loki
2020-02-08 23:41:27 +01:00
parent 834f7b9063
commit 4b216d6676
6 changed files with 168 additions and 140 deletions

View File

@@ -528,7 +528,7 @@ void launch(resp_https_t response, req_https_t request) {
});
auto args = request->parse_query_string();
auto appid = util::from_view(args.at("appid")) -2;
auto appid = util::from_view(args.at("appid")) -1;
auto current_appid = proc::proc.running();
if(current_appid != -1) {