project_files/HedgewarsMobile/Classes/RestoreViewController.m
changeset 5668 36c1d1b789b8
parent 5666 cc79eb30346e
child 5699 1a9a6a7662aa
--- a/project_files/HedgewarsMobile/Classes/RestoreViewController.m	Tue Aug 23 10:07:40 2011 +0200
+++ b/project_files/HedgewarsMobile/Classes/RestoreViewController.m	Tue Aug 23 10:19:33 2011 +0200
@@ -37,7 +37,7 @@
 
     if (theButton.tag != 0) {
         if (self.interfaceBridge == nil) {
-            GameInterfaceBridge *bridge = [[GameInterfaceBridge alloc] initWithController:self];
+            GameInterfaceBridge *bridge = [[GameInterfaceBridge alloc] initWithController:self.parentViewController];
             self.interfaceBridge = bridge;
             [bridge release];
         }