Skip to content

Commit

Permalink
Persistent reference heading for the Kestrel 4500.
Browse files Browse the repository at this point in the history
  • Loading branch information
ulteq committed May 21, 2015
1 parent 90ffee4 commit 24b2fea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions addons/kestrel4500/functions/fnc_restoreUserData.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,4 @@
#include "script_component.hpp"

GVAR(Menu) = 0 max (profileNamespace getVariable ["ACE_Kestrel4500_menu", 0]) min ((count GVAR(Menus)) - 1);
GVAR(RefHeading) = 0 max (profileNamespace getVariable ["ACE_Kestrel4500_RefHeading", 0]) min 359;
1 change: 1 addition & 0 deletions addons/kestrel4500/functions/fnc_storeUserData.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,4 @@
#include "script_component.hpp"

profileNamespace setVariable ["ACE_Kestrel4500_menu", GVAR(menu)];
profileNamespace setVariable ["ACE_Kestrel4500_RefHeading", GVAR(RefHeading)];

0 comments on commit 24b2fea

Please sign in to comment.