mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-17 09:10:27 +03:00
prevent logout with d/c #1938
Should work to prevent the issue described in #1938 by disabling the abort option, causing the player to alt + F4 if they want to log out without reconnecting. which results in the gear pile/weaponholder from not being created.
This commit is contained in:
@@ -105,7 +105,8 @@ if (isServer) then {
|
||||
if (dayz_groupSystem) then {
|
||||
"PVDZ_Server_UpdateGroup" addPublicVariableEventHandler {(_this select 1) spawn server_updateGroup};
|
||||
};
|
||||
|
||||
"PVDZE_PingSend" addPublicVariableEventHandler {PVDZE_PingReceived = 1; (owner (_this select 1)) publicVariableClient "PVDZE_PingReceived";};
|
||||
|
||||
//Added as part of the maintenance system to allow the server to replace the damaged model with a normal model.
|
||||
/*"PVDZ_object_replace" addPublicVariableEventHandler {
|
||||
_object = _this select 1;
|
||||
@@ -322,4 +323,5 @@ if (!isDedicated) then {
|
||||
// flies and swarm sound sync
|
||||
call compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\client_flies.sqf";
|
||||
};
|
||||
"PVDZE_PingReceived" addPublicVariableEventHandler {DZE_LastPingResp = diag_tickTime;};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user