mirror of
https://github.com/EpochModTeam/Epoch.git
synced 2024-08-30 18:22:13 +00:00
push change back to gvar
debug
This commit is contained in:
parent
6158c10a81
commit
5db8af19f8
@ -72,8 +72,9 @@ if !(_powerSources isEqualTo[]) then {
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
// alive time handler
|
||||
_playerAliveTime = round(_playerAliveTime + (_tickTime - _clientAliveTimer));
|
||||
missionNamespace setVariable [_playerAliveTimeKey, _playerAliveTime];
|
||||
_clientAliveTimer = _tickTime;
|
||||
|
||||
// force update after 60 seconds
|
||||
|
@ -17,6 +17,10 @@ EPOCH_forceUpdateNow = false;
|
||||
// start alive timer
|
||||
_clientAliveTimer = diag_tickTime;
|
||||
|
||||
if (isNil "_playerEnergyKey") then {
|
||||
diag_log "DEBUG: _playerEnergyKey not set"
|
||||
};
|
||||
|
||||
// init player stat vars
|
||||
_customVarsInit = ["CfgEpochClient", "customVarsDefaults", EPOCH_customVarsDefaults] call EPOCH_fnc_returnConfigEntryV2;
|
||||
_customVarNames = _customVarsInit apply {_x param [0,""]};
|
||||
|
Loading…
x
Reference in New Issue
Block a user