Fix screwed up UsedSlots count

This commit is contained in:
jvyden 2021-11-04 00:30:30 -04:00
commit e17c34b517
No known key found for this signature in database
GPG key ID: 18BCF2BE0262B278

View file

@ -114,7 +114,7 @@ namespace LBPUnion.ProjectLighthouse.Types
foreach (string slotType in slotTypes)
{
slots += LbpSerializer.StringElement(slotType + "UsedSlots", this.UsedSlots);
slots += LbpSerializer.StringElement(slotType + "UsedSlots", 0);
slots += LbpSerializer.StringElement(slotType + "EntitledSlots", ServerSettings.EntitledSlots);
// ReSharper disable once StringLiteralTypo
slots += LbpSerializer.StringElement(slotType + slotType == "crossControl" ? "PurchsedSlots" : "PurchasedSlots", 0);