(73193fb71) Updated a couple of sound effects

This commit is contained in:
Joonas Rikkonen
2019-04-01 22:47:36 +03:00
parent 2eaf22683d
commit 7cb70fa344
6 changed files with 48 additions and 51 deletions

View File

@@ -346,6 +346,12 @@ namespace Barotrauma.Networking
Write(msg, eventsToSync, out sentEvents, client);
}
foreach (NetEntityEvent entityEvent in sentEvents)
{
(entityEvent as ServerEntityEvent).Sent = true;
client.EntityEventLastSent[entityEvent.ID] = NetTime.Now;
}
foreach (NetEntityEvent entityEvent in sentEvents)
{
(entityEvent as ServerEntityEvent).Sent = true;