Use loadComponentSingleFile for caching

This commit is contained in:
Craftplacer 2019-09-15 17:15:52 +02:00
parent 811a08d18f
commit 08ab4e508f
1 changed files with 1 additions and 1 deletions

View File

@ -485,7 +485,7 @@ protected override void LoadComplete()
toolbarElements.Add(d);
});
dependencies.Cache(loadComponentSingleFile(volume = new VolumeOverlay(), leftFloatingOverlayContent.Add));
loadComponentSingleFile(volume = new VolumeOverlay(), leftFloatingOverlayContent.Add, true);
loadComponentSingleFile(new OnScreenDisplay(), Add, true);