mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-06-20 15:23:56 -07:00
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:
parent
eb2e489898
commit
cc4087f3fe
1 changed files with 2 additions and 0 deletions
|
|
@ -1197,6 +1197,8 @@ function initSelectionPanels()
|
|||
*/
|
||||
function showTemplateDetails(templateName, civCode)
|
||||
{
|
||||
if (inputState != INPUT_NORMAL)
|
||||
return;
|
||||
g_PauseControl.implicitPause();
|
||||
|
||||
Engine.PushGuiPage(
|
||||
|
|
|
|||
Loading…
Reference in a new issue