mirror of
https://github.com/tribufu/ServerManagers
synced 2026-05-06 15:17:34 +00:00
merged individual LoadServerFiles into one method to fetch steam users only once.
This commit is contained in:
parent
89a03123bb
commit
f73b8c530d
4 changed files with 131 additions and 127 deletions
|
|
@ -2693,7 +2693,7 @@ namespace ServerManagerTool
|
|||
Application.Current.Dispatcher.Invoke(() => this.Cursor = Cursors.Wait);
|
||||
await Task.Delay(500);
|
||||
|
||||
Settings.LoadServerFileAdministrators();
|
||||
Settings.LoadServerFiles(true, false, false);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
|
|
@ -2714,7 +2714,7 @@ namespace ServerManagerTool
|
|||
Application.Current.Dispatcher.Invoke(() => this.Cursor = Cursors.Wait);
|
||||
await Task.Delay(500);
|
||||
|
||||
Settings.LoadServerFileExclusive();
|
||||
Settings.LoadServerFiles(false, true, false);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
|
|
@ -2735,7 +2735,7 @@ namespace ServerManagerTool
|
|||
Application.Current.Dispatcher.Invoke(() => this.Cursor = Cursors.Wait);
|
||||
await Task.Delay(500);
|
||||
|
||||
Settings.LoadServerFileWhitelisted();
|
||||
Settings.LoadServerFiles(false, false, true);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue