re-revert change SERVER_VARS > EPOCH_playerMissionArray

This commit is contained in:
vbawol 2016-06-18 13:53:16 -05:00
parent fa2185a27d
commit 95e8b6a2d4

View File

@ -285,7 +285,7 @@ class FSM
"_plyrVar deleteAt _taskIndex;" \n
"};" \n
"_plyrVar pushBack [""axeTask"",_taskName];" \n
"missionNamespace setVariable [""SERVER_VARS"",_plyrVar];" \n
"missionNamespace setVariable [""EPOCH_playerMissionArray"",_plyrVar];" \n
"" \n
"missionNameSpace setVariable [""axeTask"",_taskName];" \n
"" \n
@ -496,12 +496,12 @@ class FSM
itemno = 6;
init = /*%FSM<STATEINIT""">*/"//uiNameSpace setVariable [""axeTask"",nil];" \n
"if!(_doBin)then{" \n
"_plyrVar = missionNamespace getVariable [""SERVER_VARS"",[]];" \n
"_plyrVar = missionNamespace getVariable [""EPOCH_playerMissionArray"",[]];" \n
"_taskIndex = ((_plyrVar apply {_x find ""axeTask"" > -1;}) find true);" \n
"if(_taskIndex > -1)then{" \n
"_plyrVar deleteAt _taskIndex;" \n
"};" \n
"missionNamespace setVariable [""SERVER_VARS"",_plyrVar];" \n
"missionNamespace setVariable [""EPOCH_playerMissionArray"",_plyrVar];" \n
"};" \n
"if(count _missionCleanUp > 0)then{" \n
"{" \n