mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
starting to fix switchunits
This commit is contained in:
parent
0aea587529
commit
8c937a707d
@ -17,8 +17,6 @@
|
||||
|
||||
#include "script_component.hpp"
|
||||
|
||||
private ["_playerUnit", "_sides"];
|
||||
|
||||
PARAMS_2(_playerUnit,_sides);
|
||||
|
||||
if (vehicle _playerUnit == _playerUnit) then {
|
||||
|
@ -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;};
|
||||
|
Loading…
Reference in New Issue
Block a user