Browse Source

Merge pull request #450 from Azaezel/alpha40/playgui_onwake_callback

provides a general Playgui_onWake callback for modules
Brian Roberts 4 years ago
parent
commit
bea11acc66
1 changed files with 2 additions and 0 deletions
  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)