fix: Fixes world save decay (#1540)
This commit is contained in:
parent
1ebaf5390d
commit
28068c8241
2 changed files with 5 additions and 6 deletions
|
|
@ -2247,8 +2247,7 @@ public class Item : IHued, IComparable<Item>, ISpawnable, IObjectPropertyListEnt
|
|||
|
||||
public bool AtPoint(int x, int y) => m_Location.m_X == x && m_Location.m_Y == y;
|
||||
|
||||
public virtual bool CanDecay() =>
|
||||
Decays && Parent == null && Map != Map.Internal;
|
||||
public virtual bool CanDecay() => Decays && Parent == null && Map != Map.Internal;
|
||||
|
||||
|
||||
public virtual bool OnDecay() =>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue