mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-15 13:26:39 +03:00
Optimize some createVehicleLocal
https://community.bistudio.com/wiki/Code_Optimisation#createVehicle.28Local.29
This commit is contained in:
@@ -31,7 +31,7 @@ _fires = [
|
||||
|
||||
{
|
||||
_type = _x select 0;
|
||||
_object = _type createVehicleLocal (_x select 1);
|
||||
_object = _type createVehicleLocal [0,0,0];
|
||||
_object setDir (_x select 2);
|
||||
_object setPos (_x select 1);
|
||||
_object allowDamage false;
|
||||
|
||||
Reference in New Issue
Block a user