File tree Expand file tree Collapse file tree 2 files changed +2
-6
lines changed
Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -88,10 +88,6 @@ public abstract class inkCustomController extends inkLogicController {
8888 this.m_gameController = gameController;
8989 }
9090
91- protected func SetGameController(parentController: ref<inkCustomController>) {
92- this.m_gameController = parentController.GetGameController();
93- }
94-
9591 protected func CreateInstance() {
9692 if !this.m_isCreated {
9793 this.OnCreate();
@@ -133,7 +129,7 @@ public abstract class inkCustomController extends inkLogicController {
133129 customController = childController as inkCustomController;
134130
135131 if IsDefined(customController) {
136- customController.SetGameController(this);
132+ customController.SetGameController(this.GetGameController() );
137133 customController.InitializeInstance();
138134 }
139135 }
Original file line number Diff line number Diff line change @@ -115,7 +115,7 @@ public abstract class CustomPopup extends inkCustomController {
115115
116116 protected cb func OnHidden() {
117117 this.ResetNotificationData();
118- this.SetGameController(null as inkGameController );
118+ this.SetGameController(null);
119119 this.SetRootWidget(null);
120120 }
121121
You can’t perform that action at this time.
0 commit comments