Hotfix 1.1.18.1 (real this time)

This commit is contained in:
Markus Isberg
2023-10-20 18:17:33 +03:00
parent 6cc82976a1
commit 2ea58c58a7
10 changed files with 49 additions and 140 deletions
@@ -294,11 +294,6 @@ namespace Barotrauma.Extensions
.Where(nullable => nullable.HasValue)
.Select(nullable => nullable.Value);
public static IEnumerable<T> NotNull<T>(this IEnumerable<T> source) where T : class
=> source
.Where(nullable => nullable != null)
.Select(nullable => nullable!);
public static IEnumerable<T> NotNone<T>(this IEnumerable<Option<T>> source)
{
foreach (var o in source)