v0.3.4.2: fixed section bodies not being restored after repairing a wall/window, fixed servers letting all clients in despite a wrong password, game version or content package
This commit is contained in:
@@ -284,7 +284,7 @@ namespace Barotrauma
|
||||
float sectionDamage = wall.SectionDamage(sectionIndex);
|
||||
for (int i = sectionIndex - 2; i <= sectionIndex + 2; i++)
|
||||
{
|
||||
if (wall.SectionHasHole(i))
|
||||
if (wall.SectionBodyDisabled(i))
|
||||
{
|
||||
sectionIndex = i;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user