mirror of
https://github.com/osukey/osukey.git
synced 2025-06-03 11:57:36 +09:00
Fix bracket precedence
This commit is contained in:
parent
4c592a5e65
commit
07a0df7c4f
@ -214,7 +214,7 @@ namespace osu.Game.Graphics.Backgrounds
|
||||
{
|
||||
base.Draw(vertexAction);
|
||||
|
||||
if (vertexBatch == null || vertexBatch.Size != Source.AimCount && Source.AimCount > 0)
|
||||
if (Source.AimCount > 0 && (vertexBatch == null || vertexBatch.Size != Source.AimCount))
|
||||
{
|
||||
vertexBatch?.Dispose();
|
||||
vertexBatch = new TriangleBatch<TexturedVertex2D>(Source.AimCount, 1);
|
||||
|
Loading…
x
Reference in New Issue
Block a user