mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Improve creation time of house actions dummy (#4159)
This commit is contained in:
parent
541349efef
commit
fa7d0df2df
@ -80,7 +80,7 @@ if ((vehicle ACE_player) != ACE_player) exitWith {};
|
||||
// systemChat format ["Add Actions for [%1] (count %2) @ %3", _typeOfHouse, (count _memPoints), diag_tickTime];
|
||||
{
|
||||
private _helperPos = AGLtoASL (_houseBeingScaned modelToWorld (_houseBeingScaned selectionPosition _x));
|
||||
private _helperObject = "ACE_LogicDummy" createVehicleLocal _helperPos;
|
||||
private _helperObject = "ACE_LogicDummy" createVehicleLocal [0,0,0];
|
||||
_addedHelpers pushBack _helperObject;
|
||||
_helperObject setVariable [QGVAR(building), _houseBeingScaned];
|
||||
_helperObject setPosASL _helperPos;
|
||||
|
Loading…
Reference in New Issue
Block a user