Stop cloning entity settings through MessagePack
This commit is contained in:
parent
b2721191a4
commit
c8832e147a
3 changed files with 11 additions and 5 deletions
|
|
@ -6,4 +6,12 @@ public class EntitySettings
|
|||
{
|
||||
[Key(0)]
|
||||
public float ShutdownPerformance = .1f;
|
||||
}
|
||||
|
||||
public EntitySettings Copy()
|
||||
{
|
||||
return new EntitySettings
|
||||
{
|
||||
ShutdownPerformance = ShutdownPerformance
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue