1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-08 22:42:56 +08:00

Remove null-stage fallback

This commit is contained in:
smoogipoo 2020-04-01 11:59:34 +09:00
parent 9d9780707d
commit bb5fa472dc

View File

@ -1,7 +1,6 @@
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text. // See the LICENCE file in the repository root for full licence text.
using System;
using osu.Framework.Allocation; using osu.Framework.Allocation;
using osu.Framework.Bindables; using osu.Framework.Bindables;
using osu.Framework.Graphics.Containers; using osu.Framework.Graphics.Containers;
@ -27,9 +26,6 @@ namespace osu.Game.Rulesets.Mania.Skinning
[BackgroundDependencyLoader] [BackgroundDependencyLoader]
private void load() private void load()
{ {
if (Stage == null)
FallbackColumnIndex = (Column.Index % 2 + 1).ToString();
else
switch (Column.ColumnType) switch (Column.ColumnType)
{ {
case ColumnType.Special: case ColumnType.Special: