Skip to content

Commit

Permalink
Fix crash when re-initializing reticule UI.
Browse files Browse the repository at this point in the history
  • Loading branch information
perim committed Dec 2, 2017
1 parent 652dde1 commit 5b73dc0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/hci.cpp
Expand Up @@ -632,6 +632,11 @@ void interfaceShutDown()

//obviously!
ReticuleUp = false;

for (auto& i : retbutstats)
{
i = RETBUTSTATS();
}
}

static bool IntRefreshPending = false;
Expand Down

0 comments on commit 5b73dc0

Please sign in to comment.