mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 15:12:57 +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()
|
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;
|
entry = null;
|
||||||
base.LifetimeStart = double.MinValue;
|
base.LifetimeStart = double.MinValue;
|
||||||
base.LifetimeEnd = double.MaxValue;
|
base.LifetimeEnd = double.MaxValue;
|
||||||
|
Loading…
Reference in New Issue
Block a user