Basic player input syncing
There's currently a bug where the inputs might be read out of order or more than once, which leads to desync. I'll feel really dumb when I find what's going on here. Also, I'm using placeholder player spawning because CharacterInfo doesn't seem to be fully functional yet.
This commit is contained in:
@@ -702,9 +702,9 @@ namespace Barotrauma
|
||||
}
|
||||
if (isFrozen)
|
||||
{
|
||||
for (int i=0;i < Limbs.Length;i++)
|
||||
foreach (Limb l in Limbs)
|
||||
{
|
||||
Limbs[i].body.PhysEnabled = true;
|
||||
l.body.PhysEnabled = true;
|
||||
}
|
||||
isFrozen = false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user