Skip to content

Commit

Permalink
Fixed so virus receive the correct InfectionTimeLimitMs
Browse files Browse the repository at this point in the history
  • Loading branch information
pokegustavor committed Oct 6, 2021
1 parent fca6b32 commit f673ae0
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ public static PLVirus CreateVirus(int Subtype, int level)
InVirus.Experimental = VirusType.Experimental;
InVirus.Unstable = VirusType.Unstable;
InVirus.Contraband = VirusType.Contraband;
InVirus.InfectionTimeLimitMs = VirusType.InfectionTimeLimitMs;
InVirus.GetType().GetField("Price_LevelMultiplierExponent", BindingFlags.Instance | BindingFlags.NonPublic).SetValue(InVirus, VirusType.Price_LevelMultiplierExponent);
}
}
Expand Down

0 comments on commit f673ae0

Please sign in to comment.