[1.209.022] There are 11 texts for repair contracts, but only the first 10 are used.

Marco Leise shared this bug 20 hours ago
Submitted

This code

public override string Description {
	get {
		return MyTexts.GetString(string.Format("ContractScreen_Repair_Description_{0}", (object) (this.Id % 10L)));
	}
}

means only ContractScreen_Repair_Description_0 through ContractScreen_Repair_Description_9 are used from the localization file, with ContractScreen_Repair_Description_10 going unused.

The fix is to use "this.Id % 11L".

Leave a Comment
 
Attach a file
Access denied