mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 14:32:55 +08:00
Use property instead of backing field consistently
This commit is contained in:
parent
55859938b1
commit
e7954ecb60
@ -132,11 +132,11 @@ namespace osu.Game.Rulesets.Objects.Pooling
|
||||
|
||||
private void free()
|
||||
{
|
||||
Debug.Assert(entry != null && HasEntryApplied);
|
||||
Debug.Assert(Entry != null && HasEntryApplied);
|
||||
|
||||
OnFree(entry);
|
||||
OnFree(Entry);
|
||||
|
||||
entry.LifetimeChanged -= setLifetimeFromEntry;
|
||||
Entry.LifetimeChanged -= setLifetimeFromEntry;
|
||||
entry = null;
|
||||
base.LifetimeStart = double.MinValue;
|
||||
base.LifetimeEnd = double.MaxValue;
|
||||
|
Loading…
Reference in New Issue
Block a user