mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 04:02:37 +03:00
TLDR
unused dayz_disco variables commented out player sync already does 10m nearby gear update so only perform if no sync was. moved dayz_recordlogin to under !isNull _object check to prevent db call if player isnull.
This commit is contained in:
@@ -29,8 +29,8 @@
|
||||
//Server only
|
||||
if (isServer) then {
|
||||
"PVDZE_plr_Died" addPublicVariableEventHandler {_id = (_this select 1) spawn server_playerDied};
|
||||
"PVDZE_plr_DiscAdd" addPublicVariableEventHandler {dayz_disco set [count dayz_disco,(_this select 1)];};
|
||||
"PVDZE_plr_DiscRem" addPublicVariableEventHandler {dayz_disco = dayz_disco - [(_this select 1)];};
|
||||
//"PVDZE_plr_DiscAdd" addPublicVariableEventHandler {dayz_disco set [count dayz_disco,(_this select 1)];};
|
||||
//"PVDZE_plr_DiscRem" addPublicVariableEventHandler {dayz_disco = dayz_disco - [(_this select 1)];};
|
||||
"PVDZE_plr_Save" addPublicVariableEventHandler {_id = (_this select 1) spawn server_playerSync;};
|
||||
"PVDZE_obj_Publish" addPublicVariableEventHandler {(_this select 1) call server_publishObj};
|
||||
"PVDZE_veh_Update" addPublicVariableEventHandler {_id = (_this select 1) spawn server_updateObject};
|
||||
|
||||
Reference in New Issue
Block a user