Fix error while destroying a failing ruleset config browser.
This commit is contained in:
@@ -72,7 +72,7 @@ namespace Cryville.Crtr.Browsing.UI {
|
|||||||
Master.Actions.Register(_useSkinAction = new UseSkinAction(this));
|
Master.Actions.Register(_useSkinAction = new UseSkinAction(this));
|
||||||
}
|
}
|
||||||
void OnDestroy() {
|
void OnDestroy() {
|
||||||
Master.Actions.Unregister(_useSkinAction);
|
if (_loaded) Master.Actions.Unregister(_useSkinAction);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void SetSkin(string skin) {
|
public void SetSkin(string skin) {
|
||||||
|
Reference in New Issue
Block a user