Ship mostly works #10
@ -393,4 +393,7 @@ func sync_property(node_id: String, property_name: String, value: Variant):
|
||||
var packet_data = {"message":"property_update", "node_id": node_id, "property_name":property_name, "value":value}
|
||||
send_p2p_packet(0, packet_data)
|
||||
|
||||
|
||||
|
||||
func sync_property_to_peer(node_id: String, property_name: String, value: Variant, target_peer: int):
|
||||
var packet_data = {"message":"property_update", "node_id": node_id, "property_name": property_name, "value": value}
|
||||
send_p2p_packet(target_peer, packet_data)
|
||||
|
Loading…
Reference in New Issue
Block a user