From 07f59f40e5f823e29cc61ab8f3bbca0f204718c0 Mon Sep 17 00:00:00 2001 From: vbawol Date: Thu, 17 Sep 2015 11:44:51 -0500 Subject: [PATCH] fixed #384 https://github.com/EpochModTeam/Epoch/issues/384 --- Changelogs/0.3.4.0.txt | 1 + .../@epochhive/addons/a3_epoch_server.pbo | Bin 357543 -> 357727 bytes .../EPOCH_server_repairVehicle.sqf | 2 +- 3 files changed, 2 insertions(+), 1 deletion(-) 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 171c94a9849ac922394ee699a863e45afc7416cd..1a0b8125bd8f1bc6a76b9dfdc9d34c9a7735b7bb 100644 GIT binary patch delta 527 zcmZ4fQuO{S(G3FJY~P;$3RU8pe346a`v0{|e49PFOE}ohy!jRSlWB6Iko@%C?MytA z-w7{czVYVQ1Q&7|Z8_Etfbn?MAQI2YeEW`zp2gs7%MNk(d(0?<_oKoFmtpO==IK3)9= zld%s-0O$z~s31s>f}Mf^st%wYxQPn3Fatnpfo=ntPz$7Mt*6y7DQ&O2!Ia57{q=38 z8PnVEFttt>xXY9_z3MJg)3kd`anqCTG1X6hdXK5NJ?1_W5HoL&xzA!gRm4l|z@mrS T-8RoS^U7H#AUf*w9nHT0pU4(G3FJY-e`73@zcEe346avo&`U2V2a7522r!CMOEXPnVs+Bsh7SfWTyC zk%`O>i+@g@F0zo-^!JC*x@KF^?Y5$f21bJM$vOGOsl_D zqGNRwsuki3aw>}yQZkE667!N%72+!tYIPKp9D|)*{aln{6_OKkaul3AgX7cklH-f> zi%Og-t$DdPfgm$YK~V!{_;kiHCNWu%FlT&0elgH4n2bVkYEEi$iGo4Cp^<@s!E}!sOc87fYHA9Z#nboSU{Vv&R4Ba=@4U;<+1?Vb-< cn5K#dgnC>|SSw|bCg1XZ`pTM~50m`j0U@)G1poj5 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 {