Ingame syncing kinda works

Reminder to self: Submarines must spawn attached shuttles in Dedicated Server, must've been something I missed when moving over client-specific code
This commit is contained in:
juanjp600
2017-06-20 22:28:18 -03:00
parent 7003214847
commit 0740579f62
25 changed files with 109 additions and 43 deletions

View File

@@ -64,6 +64,8 @@ namespace Barotrauma.Networking
public bool Sent;
public string StackTrace;
private double createTime;
public double CreateTime
{
@@ -76,6 +78,8 @@ namespace Barotrauma.Networking
serializable = entity;
createTime = Timing.TotalTime;
StackTrace = Environment.StackTrace.ToString();
}
public void Write(NetBuffer msg, Client recipient)