diff --git a/Changelogs/0.3.4.0.txt b/Changelogs/0.3.4.0.txt index ee8225fb..d3996eb6 100644 --- a/Changelogs/0.3.4.0.txt +++ b/Changelogs/0.3.4.0.txt @@ -2,5 +2,6 @@ Client: [Fixed] Client fps lag when first joining the server. Server: +[Fixed] Error Generic error in expression in EPOCH_server_repairVehicle. [Changed] Use new sort command instead of BIS_fncSortBy. [Changed] Use new worldSize command as default if maps worldSize setting in CfgEpoch does not exist. diff --git a/Server_Install_Pack/@epochhive/addons/a3_epoch_server.pbo b/Server_Install_Pack/@epochhive/addons/a3_epoch_server.pbo index 171c94a9..1a0b8125 100644 Binary files a/Server_Install_Pack/@epochhive/addons/a3_epoch_server.pbo and b/Server_Install_Pack/@epochhive/addons/a3_epoch_server.pbo differ diff --git a/Sources/epoch_server/compile/epoch_vehicle/EPOCH_server_repairVehicle.sqf b/Sources/epoch_server/compile/epoch_vehicle/EPOCH_server_repairVehicle.sqf index ab3c75da..3871856d 100644 --- a/Sources/epoch_server/compile/epoch_vehicle/EPOCH_server_repairVehicle.sqf +++ b/Sources/epoch_server/compile/epoch_vehicle/EPOCH_server_repairVehicle.sqf @@ -8,7 +8,7 @@ if !([_plyr, _this select 3] call EPOCH_server_getPToken) exitWith{}; if (_plyr distance _vehicle > 20) exitWith{}; // if (vehicle _plyr != _plyr) exitWith{}; -if ((_value select 0) == "ALL") then { +if ((_value select 0) isEqualTo "ALL") then { _vehicle setDamage 0; } else { if (local _vehicle) then {