Some null checks, clients log initial lobby update, minor lighting optimization
This commit is contained in:
@@ -213,7 +213,7 @@ namespace Barotrauma
|
||||
return;
|
||||
}
|
||||
|
||||
if (attachToWalls && Character.Submarine == null)
|
||||
if (attachToWalls && Character.Submarine == null && Level.Loaded != null)
|
||||
{
|
||||
raycastTimer -= deltaTime;
|
||||
//check if there are any walls nearby the character could attach to
|
||||
|
||||
Reference in New Issue
Block a user