Skip to content

Commit

Permalink
Update StackXXLMod.cs
Browse files Browse the repository at this point in the history
fix misplaced language reference.
  • Loading branch information
jiahuif committed Oct 26, 2022
1 parent eefb7bb commit d8cc16c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions RimworldStackXXL/StackXXLMod.cs
Original file line number Diff line number Diff line change
Expand Up @@ -186,8 +186,8 @@ public override void DefsLoaded()

sizeXL = Settings.GetHandle<double>("sizeXL", "StackXXL.XLSize.Title".Translate(), "StackXXL.XLSize.Desc".Translate(), 10.0, Validators.FloatRangeValidator(1, float.MaxValue));
sizeXXL = Settings.GetHandle<double>("sizeXXL", "StackXXL.XXLSize.Title".Translate(), "StackXXL.XXLSize.Desc".Translate(), 20.0, Validators.FloatRangeValidator(1, float.MaxValue));
resourcesStack = Settings.GetHandle<SizeEnum>("resourcesStack", "StackXXL.Stack.Medicine.Title".Translate(), "StackXXL.Stack.Medicine.Desc".Translate(), SizeEnum.XL, null, "StackXXL.Size.");
medicineStack = Settings.GetHandle<SizeEnum>("medicineStack", "StackXXL.Stack.Resources.Title".Translate(), "StackXXL.Stack.Resources.Desc".Translate(), resourcesStack.Value, null, "StackXXL.Size.");
resourcesStack = Settings.GetHandle<SizeEnum>("resourcesStack", "StackXXL.Stack.Resources.Title".Translate(), "StackXXL.Stack.Resources.Desc".Translate(), SizeEnum.XL, null, "StackXXL.Size.");
medicineStack = Settings.GetHandle<SizeEnum>("medicineStack", "StackXXL.Stack.Medicine.Title".Translate(), "StackXXL.Stack.Medicine.Desc".Translate(), resourcesStack.Value, null, "StackXXL.Size.");
silverStack = Settings.GetHandle<SizeEnum>("silverStack", "StackXXL.Stack.Silver.Title".Translate(), "StackXXL.Stack.Silver.Desc".Translate(), resourcesStack.Value, null, "StackXXL.Size.");
textilesStack = Settings.GetHandle<SizeEnum>("textilesStack", "StackXXL.Stack.Textiles.Title".Translate(), "StackXXL.Stack.Textiles.Desc".Translate(), SizeEnum.XL, null, "StackXXL.Size.");
drugsStack = Settings.GetHandle<SizeEnum>("drugsStack", "StackXXL.Stack.Drugs.Title".Translate(), "StackXXL.Stack.Drugs.Desc".Translate(), SizeEnum.XL, null, "StackXXL.Size.");
Expand Down

0 comments on commit d8cc16c

Please sign in to comment.