You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Many fixes to networking, demo should work now
This commit is contained in:
@@ -285,8 +285,8 @@ void NetworkedMultiplayerENet::poll(){
|
||||
incoming_packets.push_back(packet);
|
||||
} else {
|
||||
//to someone else, specifically
|
||||
ERR_CONTINUE(!peer_map.has(source));
|
||||
enet_peer_send(peer_map[source],0,packet.packet);
|
||||
ERR_CONTINUE(!peer_map.has(target));
|
||||
enet_peer_send(peer_map[target],0,packet.packet);
|
||||
}
|
||||
} else {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user