(cef39af84) Fixed server creating "attempted to create a network event for an item that hasn't been fully initialized yet" console errors when spawning LightComponents mid-round. + Simplified ragdoll collider null check

This commit is contained in:
Joonas Rikkonen
2019-04-03 16:21:06 +03:00
parent e4eb6c131c
commit 5d7dba0f70
2 changed files with 13 additions and 3 deletions
@@ -110,7 +110,7 @@ namespace Barotrauma
{
get
{
return collider == null ? null : collider[colliderIndex];
return collider?[colliderIndex];
}
}