DoubleDeez / MDFramework

A multiplayer C# game framework for Godot 3.4 Mono.
https://discord.gg/UH49eHK
MIT License
77 stars 13 forks source link

MDReplicatedMember OnValueChangedEvent not called locally #103

Closed BlackPhoenix134 closed 3 years ago

BlackPhoenix134 commented 3 years ago

As discussed in discord, it might be a good idea to add a boolean to that settings to also call "OnValueChanged" locally. In the current state, OnValueChanged is called only on peers, and not locally and it would force the execution of the callback manually every time or write a property for it when its uneccessery.