mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 04:02:37 +03:00
Don't force save at login
Thanks for the heads up ebay
This commit is contained in:
@@ -3,6 +3,7 @@ private ["_characterID","_playerObj","_playerID","_dummy","_worldspace","_state"
|
||||
_characterID = _this select 0;
|
||||
_playerObj = _this select 1;
|
||||
_spawnSelection = _this select 3;
|
||||
_inventory = _this select 4;
|
||||
_playerID = getPlayerUID _playerObj;
|
||||
|
||||
#include "\z\addons\dayz_server\compile\server_toggle_debug.hpp"
|
||||
@@ -231,6 +232,10 @@ _clientID publicVariableClient "PVCDZ_plr_plantSpawner";
|
||||
//record time started
|
||||
_playerObj setVariable ["lastTime",time];
|
||||
|
||||
//set server-side inventory variable to monitor player gear
|
||||
_playerObj setVariable["ServerMagArray",[_inventory select 1, _inventory select 2], false];
|
||||
|
||||
|
||||
//diag_log format["LOGIN PUBLISHING: UID#%1 CID#%2 %3 as %4 should spawn at %5",getPlayerUID _playerObj,_characterID,_playerObj call fa_plr2str,typeOf _playerObj,(_worldspace select 1) call fa_coor2str];
|
||||
|
||||
PVDZ_plr_Login1 = null;
|
||||
|
||||
Reference in New Issue
Block a user