starting to fix switchunits

This commit is contained in:
bux578 2015-05-09 13:49:26 +02:00
parent 0aea587529
commit 8c937a707d
2 changed files with 2 additions and 7 deletions

View File

@ -17,8 +17,6 @@
#include "script_component.hpp"
private ["_playerUnit", "_sides"];
PARAMS_2(_playerUnit,_sides);
if (vehicle _playerUnit == _playerUnit) then {

View File

@ -16,13 +16,10 @@
#include "script_component.hpp"
private "_player";
_player = _this select 0;
PARAMS_1(_player);
if (GVAR(EnableSwitchUnits)) then {
private ["_sides"];
private "_sides";
_sides = [];
if(GVAR(SwitchToWest)) then {_sides pushBack west;};