AdminMenu "Heal Player / Target" fix

This commit is contained in:
He-Man 2019-08-16 14:02:29 +02:00
parent 92dedfce6b
commit d21c503061

View File

@ -30,7 +30,7 @@ class CfgSecConf
resetTempGroup = "Epoch_my_tempGroup = []; Epoch_my_tempGroupUID = '';"; resetTempGroup = "Epoch_my_tempGroup = []; Epoch_my_tempGroupUID = '';";
tempGroupUpdate = "Epoch_my_tempGroup = _this; call EPOCH_tempGroup_update;"; tempGroupUpdate = "Epoch_my_tempGroup = _this; call EPOCH_tempGroup_update;";
tempGroupUidUpdate = "Epoch_my_tempGroupUID = _this;"; tempGroupUidUpdate = "Epoch_my_tempGroupUID = _this;";
healPlayer = "{missionNamespace setVariable[format['EPOCH_player%1', _x], EPOCH_defaultVars select(EPOCH_customVars find _x)]} forEach['Temp','Hunger','Thirst','Toxicity','Stamina','BloodP','Alcohol','Radiation'];"; healPlayer = "{[_x,(EPOCH_defaultVars select(EPOCH_customVars find _x)) - (missionnamespace getvariable format ['EPOCH_player%1',_x])] call Epoch_GiveAttributes;} foreach ['Temp','Hunger','Thirst','Toxicity','Stamina','BloodP','Alcohol','Radiation'];";
tradeComplete = "EPOCH_TRADE_COMPLETE = _this;"; tradeComplete = "EPOCH_TRADE_COMPLETE = _this;";
}; };