Skip to content

Commit 712d8ad

Browse files
committed
Removing the explicit this
1 parent 6b22bcb commit 712d8ad

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

B9PartSwitch/PartSwitch/ModuleB9PartInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,12 @@ private void Start()
4949
SetupGUI();
5050
UpdateFields();
5151

52-
GameEvents.onEditorShipModified.Add(this.EditorShipModified);
52+
GameEvents.onEditorShipModified.Add(EditorShipModified);
5353
}
5454

5555
private void OnDestroy()
5656
{
57-
GameEvents.onEditorShipModified.Remove(this.EditorShipModified);
57+
GameEvents.onEditorShipModified.Remove(EditorShipModified);
5858
}
5959

6060
private void EditorShipModified(ShipConstruct construct)

0 commit comments

Comments
 (0)