From 8df7e90e6a99239597097076edf52af0495d0ee8 Mon Sep 17 00:00:00 2001 From: user-hq <111693015+user-hq@users.noreply.github.com> Date: Wed, 2 Oct 2024 16:34:32 +0300 Subject: [PATCH] Type Array, expected Object --- glowing-octo-shame-arma2/dir/server/server_update_location.sqf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glowing-octo-shame-arma2/dir/server/server_update_location.sqf b/glowing-octo-shame-arma2/dir/server/server_update_location.sqf index 189451244..88b8cd924 100644 --- a/glowing-octo-shame-arma2/dir/server/server_update_location.sqf +++ b/glowing-octo-shame-arma2/dir/server/server_update_location.sqf @@ -45,7 +45,7 @@ while{true}do{ _resistancePlayers = 0; for "_i" from 0 to (count _objects -1) do { - _veh = effectiveCommander _objects select _i; + _veh = effectiveCommander (_objects select _i); if(_veh call gosa_fnc_isPlayer)then{ switch (side _veh) do { case (west):