Build 0.21.1.0

This commit is contained in:
Markus Isberg
2023-01-13 18:10:35 +02:00
parent 2f7205fb4b
commit 697ec52120
155 changed files with 2423 additions and 1237 deletions
@@ -197,7 +197,7 @@ namespace Barotrauma.Networking
public T GetVote<T>(VoteType voteType)
{
return (votes[(int)voteType] is T) ? (T)votes[(int)voteType] : default(T);
return (votes[(int)voteType] is T t) ? t : default;
}
public void SetVote(VoteType voteType, object value)