Skip to content

Commit

Permalink
Initialize SyncConfig in PreparePlugin
Browse files Browse the repository at this point in the history
  • Loading branch information
janhohenheim committed Sep 11, 2024
1 parent 1ebfefb commit 5291c8e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/prepare.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

#![allow(clippy::type_complexity)]

use crate::prelude::*;
use crate::{prelude::*, sync::SyncConfig};
use bevy::{
ecs::{
intern::Interned,
Expand Down Expand Up @@ -77,6 +77,8 @@ pub enum PrepareSet {

impl Plugin for PreparePlugin {
fn build(&self, app: &mut App) {
app.init_resource::<SyncConfig>()
.register_type::<SyncConfig>();
app.configure_sets(
self.schedule,
(
Expand Down

0 comments on commit 5291c8e

Please sign in to comment.