Don't allocate empty sheets
This commit is contained in:
@@ -228,7 +228,7 @@ namespace OpenRA.Mods.Cnc.Graphics
|
||||
|
||||
public void Finish()
|
||||
{
|
||||
sheetBuilder.Current.ReleaseBuffer();
|
||||
sheetBuilder.Current?.ReleaseBuffer();
|
||||
}
|
||||
|
||||
public void Dispose()
|
||||
|
||||
Reference in New Issue
Block a user