mirror of
https://github.com/ppy/osu
synced 2025-01-26 07:43:08 +00:00
Don't set entry immediately
This commit is contained in:
parent
36d2199a02
commit
36d51d5117
@ -30,7 +30,9 @@ namespace osu.Game.Rulesets.Objects.Pooling
|
||||
get => entry;
|
||||
set
|
||||
{
|
||||
if (value != null)
|
||||
if (LoadState == LoadState.NotLoaded)
|
||||
entry = value;
|
||||
else if (value != null)
|
||||
Apply(value);
|
||||
else if (HasEntryApplied)
|
||||
free();
|
||||
|
Loading…
Reference in New Issue
Block a user