Browse Source

Only initialize help once

Fixes #3256
pull/3274/head
Anders Jenbo 4 years ago
parent
commit
5adcd60667
  1. 6
      Source/help.cpp

6
Source/help.cpp

@ -100,6 +100,10 @@ std::vector<std::string> HelpTextLines;
void InitHelp()
{
static bool Initialized = false;
if (Initialized)
return;
HelpFlag = false;
char tempString[1024];
@ -117,6 +121,8 @@ void InitHelp()
previous = next + 1;
}
}
Initialized = true;
}
void DrawHelp(const Surface &out)

Loading…
Cancel
Save