Unstable 1.2.1.0
This commit is contained in:
@@ -39,7 +39,7 @@ namespace Barotrauma
|
||||
|
||||
public Event(EventPrefab prefab)
|
||||
{
|
||||
this.prefab = prefab;
|
||||
this.prefab = prefab ?? throw new ArgumentNullException(nameof(prefab));
|
||||
}
|
||||
|
||||
public virtual IEnumerable<ContentFile> GetFilesToPreload()
|
||||
|
||||
Reference in New Issue
Block a user