Explorar el Código

Prevent multiple clicks

nordsoft hace 2 años
padre
commit
ebb65b5d0e
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3 0
      client/lobby/CBonusSelection.cpp

+ 3 - 0
client/lobby/CBonusSelection.cpp

@@ -427,6 +427,9 @@ void CBonusSelection::startMap()
 		if(scenario.prolog.hasPrologEpilog)
 		{
 			GH.pushIntT<CPrologEpilogVideo>(scenario.prolog, exitCb);
+			buttonStart->block(true);
+			buttonRestart->block(true);
+			buttonBack->block(true);
 		}
 		else
 		{