correct & to &&

This commit is contained in:
Mister_Nebula 2021-08-28 12:55:23 +01:00
parent d1bc4d4c59
commit d8d3fbe5f7

View File

@ -38,7 +38,7 @@ namespace QSB.TimeSync
public void OnDestroy()
{
QSBSceneManager.OnUniverseSceneLoaded -= OnUniverseSceneLoad;
if (_canvas != null & _canvas.enabled)
if (_canvas != null && _canvas.enabled)
{
Canvas.willRenderCanvases -= OnWillRenderCanvases;
}