Ensure widget creation happens after traits are loaded

This is to make sure that traits' `WorldLoaded` method runs before widgets are created.
This commit is contained in:
Oliver Brakmann
2016-02-03 22:27:51 +01:00
parent 712a2b2896
commit 25bdad4ee5
4 changed files with 9 additions and 5 deletions

View File

@@ -47,8 +47,6 @@
PipColor: Blue
AllowedTerrainTypes: Clear,Road
AllowUnderActors: true
LoadWidgetAtGameStart:
ShellmapRoot: MENU_BACKGROUND
World:
Inherits: ^BaseWorld
@@ -149,9 +147,12 @@ World:
ObjectivesPanel:
PanelName: SKIRMISH_STATS
RadarPings:
LoadWidgetAtGameStart:
ShellmapRoot: MENU_BACKGROUND
EditorWorld:
Inherits: ^BaseWorld
LoadWidgetAtGameStart:
EditorActorLayer:
EditorResourceLayer:
EditorSelectionLayer: