Force save after building and maintain

This commit is contained in:
icomrade
2016-09-19 13:48:27 -04:00
parent 5f33fd3ef5
commit 91e5e875c2
4 changed files with 6 additions and 3 deletions

View File

@@ -472,7 +472,8 @@ if (_canBuild select 0) then {
_num_removed = ([player,DZE_buildItem] call BIS_fnc_invRemove); //remove item's magazine from inventory
if(_num_removed == 1) then {
call player_forceSave;
format[localize "str_build_01",_text] call dayz_rollingMessages;
_tmpbuilt setVariable ["OEMPos",_location,true]; //store original location as a variable