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:
juanjp600
2016-09-22 21:20:46 -03:00
parent edab86f730
commit 44e12ffed2
6 changed files with 300 additions and 36 deletions
@@ -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;
}