Fixed crashing when clicking the "refreshing server list" text. Closes #312

This commit is contained in:
Joonas Rikkonen
2018-03-04 21:24:17 +02:00
parent 8b6d2f3cc1
commit a04842705a

View File

@@ -146,6 +146,8 @@ namespace Barotrauma
private bool SelectServer(GUIComponent component, object obj)
{
if (obj == null || waitingForRefresh) return false;
ServerInfo serverInfo;
try
{