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

@@ -54,7 +54,6 @@
PipColor: green
AllowedTerrainTypes: SpiceSand
AllowUnderActors: true
LoadWidgetAtGameStart:
World:
Inherits: ^BaseWorld
@@ -151,9 +150,11 @@ World:
RadarPings:
ObjectivesPanel:
PanelName: SKIRMISH_STATS
LoadWidgetAtGameStart:
EditorWorld:
Inherits: ^BaseWorld
LoadWidgetAtGameStart:
EditorActorLayer:
D2kEditorResourceLayer:
EditorSelectionLayer: