Skip to content

Commit

Permalink
Update NanoChatCartridgeSystem.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
Vonsant authored Jan 3, 2025
1 parent 7bc1bf2 commit 302c835
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -334,6 +334,7 @@ private bool EnsureRecipientExists(Entity<NanoChatCardComponent> card, uint reci
// Check if devices are on same map
var recipientMap = Transform(receiverUid).MapID;
var senderMap = Transform(sender).MapID;

// Must be on the same map/station unless long-range is allowed
if (!channel.LongRange && recipientMap != senderMap)
{
Expand Down

0 comments on commit 302c835

Please sign in to comment.