This commit is contained in:
Schrottkatze 2024-11-23 18:29:50 +01:00
parent f7f50a1b54
commit 1a0100b596
Signed by: schrottkatze
SSH key fingerprint: SHA256:hXb3t1vINBFCiDCmhRABHX5ocdbLiKyCdKI4HK2Rbbc

View file

@ -23,7 +23,7 @@ impl FromWorld for PlayerSpawnOneshot {
}
}
pub(super) fn plyer_plugin(app: &mut App) {
pub(super) fn player_plugin(app: &mut App) {
app.add_systems(OnEnter(AppState::InGame), add_player.in_set(IngameSet))
.init_resource::<PlayerSpawnOneshot>();
}