Split up save function

This commit is contained in:
Merlijn
2020-12-31 12:11:23 +01:00
parent 3eada80dee
commit 56cd3e8aed
6 changed files with 23 additions and 9 deletions

View File

@@ -52,9 +52,8 @@ if (_classname isKindOf "Bag_Base_EP1") exitWith {
waitUntil { !isNull (unitBackpack player) };
uiSleep 0.03;
PVDZ_plr_Save = [player,nil,dayz_onBack];
publicVariableServer "PVDZ_plr_Save";
call player_regularSave;
};
_config = (configFile >> _type >> _classname);