mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-02-08 17:22:54 +03:00
Set third parameter after findSafePos
All other scripts using findSafePos either set the third parameter or
use a getPosATL/etc. instead before the position is saved to database.
Also partially reverted d6e78b2 since it is not needed.
This commit is contained in:
@@ -103,9 +103,6 @@ if(!_cancel) then {
|
||||
_removed = ([player,_item] call BIS_fnc_invRemove);
|
||||
|
||||
if(_removed == 1) then {
|
||||
|
||||
//call dayz_forceSave;
|
||||
|
||||
_dir = round(direction player);
|
||||
["Working",0,[20,40,15,0]] call dayz_NutritionSystem;
|
||||
//wait a bit
|
||||
|
||||
@@ -1106,8 +1106,6 @@ if (!isNull _cursorTarget && !_inVehicle && !_isPZombie && (player distance _cur
|
||||
player removeAction s_player_repair_crtl;
|
||||
s_player_repair_crtl = -1;
|
||||
dayz_myCursorTarget = objNull;
|
||||
//player removeAction s_player_forceSave;
|
||||
//s_player_forceSave = -1;
|
||||
player removeAction s_player_flipveh;
|
||||
s_player_flipveh = -1;
|
||||
player removeAction s_player_pushPlane;
|
||||
|
||||
Reference in New Issue
Block a user