Skip to content

Commit

Permalink
Merge pull request #223 from InvalidArgument3/live-server-triage
Browse files Browse the repository at this point in the history
nvm its fucked
  • Loading branch information
InvalidArgument3 authored Oct 29, 2024
2 parents b70123d + 571fa44 commit e81859a
Show file tree
Hide file tree
Showing 4 changed files with 139 additions and 251 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -224,8 +224,8 @@ public static void SendAsteroidUpdate(AsteroidEntity asteroid) {
}

public static void SendAsteroidRemoval(long entityId) {
Log.Info($"Broadcasting asteroid removal: {entityId}");
var packet = new AsteroidRemovalPacket { EntityId = entityId };

byte[] data = MyAPIGateway.Utilities.SerializeToBinary(packet);
MyAPIGateway.Multiplayer.SendMessageToOthers(32000, data);
}
Expand Down
Loading

0 comments on commit e81859a

Please sign in to comment.