OPF_F is now OPF_G_F

This commit is contained in:
IT07 2016-04-17 16:35:35 +02:00
parent d1fc3814db
commit 536951ad05

View File

@ -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
};
};