Skip to content

Commit 757b6da

Browse files
committed
fix warning in MASNavBall
1 parent a6a5bf3 commit 757b6da

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Source/MASNavBall.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,9 @@ public void Start()
8080
/// <summary>
8181
/// Unregister the variable callback.
8282
/// </summary>
83-
public void OnDestroy()
83+
public new void OnDestroy()
8484
{
85+
base.OnDestroy();
8586
try
8687
{
8788
// I've seen this get destroyed when the game was exiting, so

0 commit comments

Comments
 (0)