This commit is contained in:
Aleksander Waage 2020-08-23 20:21:45 +02:00
parent be6401cab4
commit aaff217c36

View File

@ -47,7 +47,7 @@ namespace QSB.TransformSync
public void Remove() public void Remove()
{ {
// do N O T destroy the parent - it completely breaks the ENTIRE GAME // do N O T destroy the parent - it completely breaks the ENTIRE GAME
if (_canvasMarker.gameObject != null) if (_canvasMarker?.gameObject != null)
{ {
_canvasMarker.DestroyMarker(); _canvasMarker.DestroyMarker();
} }