Merge MathHelper and FloatMath
Requires space-wizards/RobustToolbox#1234
This commit is contained in:
@@ -60,7 +60,7 @@ namespace Content.Server.Preferences
|
||||
await _prefsSemaphore.WaitAsync();
|
||||
try
|
||||
{
|
||||
index = FloatMath.Clamp(index, 0, _maxCharacterSlots - 1);
|
||||
index = MathHelper.Clamp(index, 0, _maxCharacterSlots - 1);
|
||||
await _prefsDb.SaveSelectedCharacterIndex(username, index);
|
||||
}
|
||||
finally
|
||||
|
||||
Reference in New Issue
Block a user