mirror of
https://github.com/vegapnk/RJW-Genes.git
synced 2024-08-15 00:23:31 +00:00
LifeForceEmpath uses new XML DefModExtension
This commit is contained in:
parent
ef1e3cdd0f
commit
132344b294
6 changed files with 16 additions and 10 deletions
|
@ -15,6 +15,6 @@ namespace RJW_Genes
|
|||
/// </summary>
|
||||
public class DistanceExtension : DefModExtension
|
||||
{
|
||||
public int Distance;
|
||||
public int distance;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -14,7 +14,7 @@ namespace RJW_Genes
|
|||
{
|
||||
DistanceExtension distanceExt = defOf.GetModExtension<DistanceExtension>();
|
||||
|
||||
int potentialDistance = distanceExt?.Distance ?? fallback;
|
||||
int potentialDistance = distanceExt?.distance ?? fallback;
|
||||
|
||||
if (potentialDistance > 0)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue