Unstable v0.19.3.0
This commit is contained in:
@@ -11,7 +11,7 @@ namespace Barotrauma
|
||||
|
||||
public void ServerEventWrite(IWriteMessage msg, Client c, NetEntityEvent.IData extraData = null)
|
||||
{
|
||||
msg.Write((byte)Sections.Length);
|
||||
msg.WriteByte((byte)Sections.Length);
|
||||
for (int i = 0; i < Sections.Length; i++)
|
||||
{
|
||||
msg.WriteRangedSingle(Sections[i].damage / MaxHealth, 0.0f, 1.0f, 8);
|
||||
|
||||
Reference in New Issue
Block a user