Skip to content

Commit

Permalink
Merge pull request #1192 from TheSyndication/fix-broadcast-upstream
Browse files Browse the repository at this point in the history
Fix bug preventing broadcast to all
  • Loading branch information
MosleyTheMalO committed Aug 18, 2024
2 parents fdd494c + 03a8abd commit d7fd48f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/modules/NTNet/network.dm
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@
data.network_id = src
log_data_transfer(data)
var/list/datum/component/ntnet_interface/receiving = list()
if((length(data.recipient_ids == 1) && data.recipient_ids[1] == NETWORK_BROADCAST_ID) || data.recipient_ids == NETWORK_BROADCAST_ID)
if((length(data.recipient_ids) == 1 && data.recipient_ids[1] == NETWORK_BROADCAST_ID) || data.recipient_ids == NETWORK_BROADCAST_ID)
data.broadcast = TRUE
for(var/i in connected_interfaces_by_id)
receiving |= connected_interfaces_by_id[i]
Expand Down

0 comments on commit d7fd48f

Please sign in to comment.