Skip to content

Commit

Permalink
Update fn_buildingPlacer.sqf
Browse files Browse the repository at this point in the history
  • Loading branch information
UAC-MaxxLite authored Aug 20, 2024
1 parent 93a4386 commit 24a0b0f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions A3A/addons/core/functions/Builder/fn_buildingPlacer.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ private _upKeyEH = _emptyDisplay displayAddEventHandler ["KeyUp", {
if ((A3A_building_EHDB # BUILD_OBJECT_SELECTED_STRING) isEqualTo "Land_Can_V2_F") exitwith {}; // temp objects not built.

if (_tempObject distance (A3A_building_EHDB # BUILD_RADIUS_OBJECT_CENTER) > (A3A_building_EHDB # BUILD_RADIUS)) exitwith {};
//if (isOnRoad getPosATL _tempObject)||() exitwith {}; // can't build on roads
//if (isOnRoad getPosATL _tempObject) exitwith {}; // can't build on roads

private _price = (A3A_building_EHDB # OBJECT_PRICE);
private _supply = (A3A_building_EHDB # AVAILABLE_MONEY);
Expand Down Expand Up @@ -292,4 +292,4 @@ private _eventHanderEachFrame = addMissionEventHandler ["EachFrame", {

}];

A3A_building_EHDB set [EACH_FRAME_EH, _eventHanderEachFrame];
A3A_building_EHDB set [EACH_FRAME_EH, _eventHanderEachFrame];

0 comments on commit 24a0b0f

Please sign in to comment.