Fix Chronomancer setting format is 'Seconds' (while should be 'Percent')

I hope I did everything right and didn't break everything?

I just did
.SetValueFormat(OptionFormat.Seconds); => .SetValueFormat(OptionFormat.Percent);
This commit is contained in:
HyperAtill authored and GitHub committed 2024-06-16 21:11:01 +03:00
1 parent c992a7658e
commit 6fdc443b9a
1 file changed
+2 -2
+2 -2
View File
@@ -28,7 +28,7 @@ namespace EHR.Roles.Impostor
.SetValueFormat(OptionFormat.Seconds);
ChargeInterval = new IntegerOptionItem(Id + 12, "ChargeInterval", new(1, 20, 1), 5, TabGroup.ImpostorRoles)
.SetParent(CustomRoleSpawnChances[CustomRoles.Chronomancer])
.SetValueFormat(OptionFormat.Seconds);
.SetValueFormat(OptionFormat.Percent);
ChargeLossInterval = new IntegerOptionItem(Id + 13, "ChargeLossInterval", new(1, 50, 1), 25, TabGroup.ImpostorRoles)
.SetParent(CustomRoleSpawnChances[CustomRoles.Chronomancer])
.SetValueFormat(OptionFormat.Percent);
@@ -150,4 +150,4 @@ namespace EHR.Roles.Impostor
OnReportDeadBody();
}
}
}
}