mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-16 08:25:28 +00:00
Get used to null propagation
This commit is contained in:
@@ -91,14 +91,7 @@ namespace ArchiSteamFarm {
|
||||
return globalDatabase;
|
||||
}
|
||||
|
||||
private void OnServerListUpdated(object sender, EventArgs e) {
|
||||
if ((sender == null) || (e == null)) {
|
||||
Logging.LogNullError(nameof(sender) + " || " + nameof(e));
|
||||
return;
|
||||
}
|
||||
|
||||
Save();
|
||||
}
|
||||
private void OnServerListUpdated(object sender, EventArgs e) => Save();
|
||||
|
||||
// This constructor is used when creating new database
|
||||
private GlobalDatabase(string filePath) : this() {
|
||||
|
||||
Reference in New Issue
Block a user