mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-16 00:54:54 +00:00
Merge pull request #450 from Azaezel/alpha40/playgui_onwake_callback
provides a general Playgui_onWake callback for modules
This commit is contained in:
commit
bea11acc66
1 changed files with 2 additions and 0 deletions
|
|
@ -49,6 +49,8 @@ function PlayGui::onWake(%this)
|
||||||
schedule(0, 0, "refreshCenterTextCtrl");
|
schedule(0, 0, "refreshCenterTextCtrl");
|
||||||
if ( isFunction( "refreshBottomTextCtrl" ) )
|
if ( isFunction( "refreshBottomTextCtrl" ) )
|
||||||
schedule(0, 0, "refreshBottomTextCtrl");
|
schedule(0, 0, "refreshBottomTextCtrl");
|
||||||
|
|
||||||
|
callOnModules("Playgui_onWake");
|
||||||
}
|
}
|
||||||
|
|
||||||
function PlayGui::onSleep(%this)
|
function PlayGui::onSleep(%this)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue