Forgot to actually create the sync_to_peer function in networkmanager
This commit is contained in:
parent
501085bf57
commit
a6ba12bd76
@ -394,3 +394,6 @@ func sync_property(node_id: String, property_name: String, value: Variant):
|
|||||||
send_p2p_packet(0, packet_data)
|
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