Skip to content

Commit

Permalink
Fix #1201
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolasbadano committed May 14, 2015
1 parent 5e3b6f3 commit 6774739
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions addons/nametags/XEH_postInit.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,8 @@ GVAR(ShowNamesTime) = -10;
[29, [false, false, false]], false] call cba_fnc_addKeybind; //LeftControl Key


// Draw handle
addMissionEventHandler ["Draw3D", {_this call FUNC(onDraw3d);}];
// Wait until the colors are defined before starting to draw the nametags
["SettingsInitialized", {
// Draw handle
addMissionEventHandler ["Draw3D", {_this call FUNC(onDraw3d);}];
}] call EFUNC(common,addEventHandler);

0 comments on commit 6774739

Please sign in to comment.