File tree 1 file changed +11
-0
lines changed
1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -62,6 +62,17 @@ let connection_config = ConnectionConfig {
62
62
63
63
For a full example of how to initialize a server or client see the example in the
64
64
repository.
65
+
66
+ ## Replicon conditions
67
+
68
+ The crate updates the running state of [`RepliconServer`] and connection state of [`RepliconClient`]
69
+ based on the states of [`RenetServer`](renet::RenetServer) and [`RenetClient`](renet::RenetServer)
70
+ in [`PreUpdate`].
71
+
72
+ This means that [replicon conditions](bevy_replicon::core::common_conditions) won't work in schedules
73
+ like [`Startup`]. As a workaround, you can directly check if renet's resources are present. This may be resolved
74
+ in the future once we have [observers for resources](https://github.com/bevyengine/bevy/issues/12231)
75
+ to immediately react to changes.
65
76
*/
66
77
#![ cfg_attr( docsrs, feature( doc_auto_cfg) ) ]
67
78
You can’t perform that action at this time.
0 commit comments