mirror of
https://github.com/vegapnk/RJW-Genes.git
synced 2024-08-15 00:23:31 +00:00
Made Evergrowing Genitalia use TickExtension
This commit is contained in:
parent
abe5fb7d39
commit
a0ca9e1da4
2 changed files with 4 additions and 1 deletions
|
@ -31,6 +31,9 @@
|
|||
- Minified some Race-Patches, thanks to @Flock-of-birds (#83)
|
||||
- XML-Genitalia-Genes can now also provide Breasts. Thanks to @Jaaldabaoth (#84 / #88)
|
||||
- Many patches and files went into a `Mods`Folder and use an `LoadFolders.xml`. Thanks to @Jaaldabaoth (#84 / #88)
|
||||
- Translate-Keys for Settings
|
||||
- Translate-Key for Animal Hybrid Race-Names
|
||||
- "Tick-Speed" for Evergrowth moved from Mod-Settings to XML
|
||||
|
||||
# 2.0.0
|
||||
|
||||
|
|
|
@ -15,7 +15,7 @@ namespace RJW_Genes
|
|||
{
|
||||
base.Tick();
|
||||
|
||||
int interval = ModExtensionHelper.GetTickIntervalFromModExtension(GeneDefOf.rjw_genes_evergrowth, BASE_TICKS);
|
||||
int interval = ModExtensionHelper.GetTickIntervalFromModExtension(GeneDefOf.rjw_genes_evergrowth, ModExtensionHelper.GetTickIntervalFromModExtension(this.def, BASE_TICKS));
|
||||
if (pawn.IsHashIntervalTick(interval)
|
||||
&& this.pawn.Map != null
|
||||
&& pawn.ageTracker.AgeBiologicalYears >= RJW_Genes_Settings.rjw_genes_resizing_age)
|
||||
|
|
Loading…
Reference in a new issue