fix CD rip logic a little

will still fail on setup.z
This commit is contained in:
Matthias Mailänder
2012-06-02 21:17:42 +02:00
parent accaf027fe
commit 83ee6b758e
4 changed files with 15 additions and 12 deletions

View File

@@ -17,12 +17,12 @@ namespace OpenRA.Mods.D2k.Widgets.Logic
public class D2kInstallLogic
{
[ObjectCreator.UseCtor]
public D2kInstallLogic(Widget widget, Dictionary<string,string> installData, Action continueLoading)
public D2kInstallLogic(Widget widget, Dictionary<string,string> installData)
{
var panel = widget.Get("INSTALL_PANEL");
var args = new WidgetArgs()
{
{ "afterInstall", () => { Ui.CloseWindow(); continueLoading(); } },
{ "afterInstall", () => { Ui.CloseWindow(); Game.Exit(); } },
{ "installData", installData }
};