mirror of
https://github.com/IT07/a3_vemf_reloaded.git
synced 2024-08-30 16:52:11 +00:00
OPF_F is now OPF_G_F
This commit is contained in:
parent
d1fc3814db
commit
536951ad05
@ -12,13 +12,11 @@
|
||||
private ["_return"];
|
||||
if (_this isEqualType "") then
|
||||
{
|
||||
private ["_cfg"];
|
||||
_cfg = configFile >> "CfgVehicles" >> _this >> "faction";
|
||||
if not isNull _cfg then
|
||||
private ["_faction"];
|
||||
_faction = getText (configFile >> "CfgVehicles" >> _this >> "faction");
|
||||
if not(_faction isEqualTo "") then
|
||||
{
|
||||
scopeName "isNull";
|
||||
private ["_faction"];
|
||||
_faction = getText _cfg;
|
||||
if (_faction isEqualTo "BLU_G_F") then
|
||||
{
|
||||
_return = WEST;
|
||||
@ -39,10 +37,16 @@ if (_this isEqualType "") then
|
||||
_return = resistance;
|
||||
breakOut "isNull";
|
||||
};
|
||||
if (_faction isEqualTo "OPF_F") then
|
||||
if (_faction isEqualTo "OPF_G_F") then
|
||||
{
|
||||
_return = EAST;
|
||||
};
|
||||
} else
|
||||
{
|
||||
["fn_checkSide", 0, format["Failed to find faction of %1", _this]] spawn VEMFr_fnc_log;
|
||||
};
|
||||
if not isNil"_return" then
|
||||
{
|
||||
_return
|
||||
};
|
||||
_return
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user