mirror of
https://mirror.ghproxy.com/https://github.com/dexyfex/CodeWalker
synced 2026-05-16 13:14:44 +08:00
Replaced CMapData and CEntityDef property gets with field gets for performance
This commit is contained in:
+2
-2
@@ -338,7 +338,7 @@ namespace CodeWalker
|
||||
}
|
||||
else if (EntityDef != null)
|
||||
{
|
||||
name = EntityDef.CEntityDef.archetypeName.ToString();
|
||||
name = EntityDef._CEntityDef.archetypeName.ToString();
|
||||
}
|
||||
else if (Archetype != null)
|
||||
{
|
||||
@@ -424,7 +424,7 @@ namespace CodeWalker
|
||||
}
|
||||
else if (EntityDef != null)
|
||||
{
|
||||
name = EntityDef.CEntityDef.archetypeName.ToString();
|
||||
name = EntityDef._CEntityDef.archetypeName.ToString();
|
||||
}
|
||||
else if (Archetype != null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user