mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 04:02:37 +03:00
Optimize save after trade
See my comment on b806043
Veh_setFixServer only runs on the server, so the client does not need to
compile it.
The PVDZ_veh_Save PVEH is only added on the server, so it should never
be sent with regular publicVariable anymore.
This commit is contained in:
@@ -11,7 +11,6 @@ class AdvancedTrading
|
||||
{
|
||||
idd = 711197;
|
||||
onLoad = "uiNamespace setVariable ['AdvancedTrading', _this select 0]";
|
||||
onUnload = "call player_forceSave; if (!isNull Z_vehicle) then {PVDZ_veh_Save = [Z_vehicle,'all']; publicVariable 'PVDZ_veh_Save';};";
|
||||
class Controls {
|
||||
class RscText_ATBackground1: ZSC_RscText
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user