Add a hook for widgets being removed, and ensure widgets are removed consistently.
This commit is contained in:
@@ -105,7 +105,7 @@ namespace OpenRA.Mods.Cnc
|
||||
|
||||
void TestAndContinue()
|
||||
{
|
||||
Widget.RootWidget.RemoveChildren();
|
||||
Widget.ResetAll();
|
||||
if (!FileSystem.Exists(Info["TestFile"]))
|
||||
{
|
||||
var args = new WidgetArgs()
|
||||
|
||||
Reference in New Issue
Block a user