`()` needed instead of `{}`

This commit is contained in:
Wyqer 2019-11-21 18:53:13 +01:00
parent 40fd1af4ef
commit 67d2652369
No known key found for this signature in database
GPG Key ID: D7E2F8BD7F1E48FA
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ while{true} do
sleep 5;
private _myPass = call compile preprocessFileLineNumbers "\userconfig\restart\myPass.hpp";
private _shutdownSuccess = _myPass serverCommand (["#restart", "#restartserver"] select {(productVersion select 6) isEqualTo "Windows"});
private _shutdownSuccess = _myPass serverCommand (["#restart", "#restartserver"] select ((productVersion select 6) isEqualTo "Windows"));
if(_shutdownSuccess) then
{