Merge pull request #61335 from nathanfranke/configuration-typo
rename 'configuration' to 'replication_config' in MultiplayerSynchronizer
This commit is contained in:
commit
0df0a07ab8
2 changed files with 2 additions and 2 deletions
|
@ -7,7 +7,7 @@
|
||||||
<tutorials>
|
<tutorials>
|
||||||
</tutorials>
|
</tutorials>
|
||||||
<members>
|
<members>
|
||||||
<member name="configuration" type="SceneReplicationConfig" setter="set_replication_config" getter="get_replication_config">
|
<member name="replication_config" type="SceneReplicationConfig" setter="set_replication_config" getter="get_replication_config">
|
||||||
</member>
|
</member>
|
||||||
<member name="replication_interval" type="float" setter="set_replication_interval" getter="get_replication_interval" default="0.0">
|
<member name="replication_interval" type="float" setter="set_replication_interval" getter="get_replication_interval" default="0.0">
|
||||||
</member>
|
</member>
|
||||||
|
|
|
@ -96,7 +96,7 @@ void MultiplayerSynchronizer::_bind_methods() {
|
||||||
|
|
||||||
ClassDB::bind_method(D_METHOD("set_replication_config", "config"), &MultiplayerSynchronizer::set_replication_config);
|
ClassDB::bind_method(D_METHOD("set_replication_config", "config"), &MultiplayerSynchronizer::set_replication_config);
|
||||||
ClassDB::bind_method(D_METHOD("get_replication_config"), &MultiplayerSynchronizer::get_replication_config);
|
ClassDB::bind_method(D_METHOD("get_replication_config"), &MultiplayerSynchronizer::get_replication_config);
|
||||||
ADD_PROPERTY(PropertyInfo(Variant::OBJECT, "configuration", PROPERTY_HINT_RESOURCE_TYPE, "SceneReplicationConfig"), "set_replication_config", "get_replication_config");
|
ADD_PROPERTY(PropertyInfo(Variant::OBJECT, "replication_config", PROPERTY_HINT_RESOURCE_TYPE, "SceneReplicationConfig"), "set_replication_config", "get_replication_config");
|
||||||
}
|
}
|
||||||
|
|
||||||
void MultiplayerSynchronizer::_notification(int p_what) {
|
void MultiplayerSynchronizer::_notification(int p_what) {
|
||||||
|
|
Loading…
Reference in a new issue