Modified code to compile on Linux
This commit is contained in:
@@ -191,7 +191,7 @@ namespace Subsurface
|
||||
int currMaxPlayers = 10;
|
||||
|
||||
int.TryParse(maxPlayersBox.Text, out currMaxPlayers);
|
||||
currMaxPlayers = MathHelper.Clamp(currMaxPlayers+(int)button.UserData, 1, 10);
|
||||
currMaxPlayers = (int)MathHelper.Clamp(currMaxPlayers+(int)button.UserData, 1, 10);
|
||||
|
||||
maxPlayersBox.Text = currMaxPlayers.ToString();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user