Don't open the template viewer when in special input state

Fix #6041

Differential Revision: https://code.wildfiregames.com/D4105
This was SVN commit r25716.
This commit is contained in:
Imarok 2021-06-06 19:00:04 +00:00
parent eb2e489898
commit cc4087f3fe

View file

@ -1197,6 +1197,8 @@ function initSelectionPanels()
*/
function showTemplateDetails(templateName, civCode)
{
if (inputState != INPUT_NORMAL)
return;
g_PauseControl.implicitPause();
Engine.PushGuiPage(