Skip to content

Commit

Permalink
corrected errors with event triggers (#2423)
Browse files Browse the repository at this point in the history
closes #2422
* added missing include in vehicleBoxHeal

* added missing include in buildHQ

* added missing inclue in civVEHInit
  • Loading branch information
HakonRydland committed Jul 31, 2022
1 parent 0c1e58d commit 9e0bcdb
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions A3A/addons/core/functions/Base/fn_buildHQ.sqf
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#include "..\..\script_component.hpp"
FIX_LINE_NUMBERS()

private ["_pos","_rnd","_posFire"];
_movedX = false;
if (petros != (leader group petros)) then
Expand Down
3 changes: 3 additions & 0 deletions A3A/addons/core/functions/Base/fn_vehicleBoxHeal.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ Example:
License: MIT License
*/
#include "..\..\script_component.hpp"
FIX_LINE_NUMBERS()

if ((serverTime - (boxX getVariable ["lastUsed", -30])) < 30) exitWith {
if (hasInterface) then {
[localize "STR_antistasi_singleWord_Heal", localize "STR_antistasi_Base_vehicleBoxHeal_UsedRecently"] call A3A_fnc_customHint;
Expand Down
3 changes: 3 additions & 0 deletions A3A/addons/core/functions/CREATE/fn_civVEHinit.sqf
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#include "..\..\script_component.hpp"
FIX_LINE_NUMBERS()

private ["_veh"];

_veh = _this select 0;
Expand Down

0 comments on commit 9e0bcdb

Please sign in to comment.