ソースを参照

Merge pull request #450 from Azaezel/alpha40/playgui_onwake_callback

provides a general Playgui_onWake callback for modules
Brian Roberts 4 年 前
コミット
bea11acc66
1 ファイル変更2 行追加0 行削除
  1. 2 0
      Templates/BaseGame/game/data/gameUI/GUIs/playGui.tscript

+ 2 - 0
Templates/BaseGame/game/data/gameUI/GUIs/playGui.tscript

@@ -49,6 +49,8 @@ function PlayGui::onWake(%this)
       schedule(0, 0, "refreshCenterTextCtrl");
    if ( isFunction( "refreshBottomTextCtrl" ) )
       schedule(0, 0, "refreshBottomTextCtrl");
+      
+   callOnModules("Playgui_onWake");
 }
 
 function PlayGui::onSleep(%this)