Преглед изворни кода

更新 'games/yqrxd/launcher/egret_loader.js'

yunhaipiaodi пре 6 година
родитељ
комит
5ca601b7e1
1 измењених фајлова са 4 додато и 0 уклоњено
  1. 4 0
      games/yqrxd/launcher/egret_loader.js

+ 4 - 0
games/yqrxd/launcher/egret_loader.js

@@ -55,6 +55,10 @@ egret_h5.startGame = function () {
               	if(rootContainer.curIsInfoPage()){      //内容页
                     rootContainer.startToGame();
                 }
+              
+              	  if(rootContainer.curIsInfoPage()){      //游戏页
+                    rootContainer.restartGame();
+                }
             }
         };
     }