mirror of
https://github.com/kristoferssolo/maze-ascension.git
synced 2025-10-21 19:20:34 +00:00
8 lines
200 B
Rust
8 lines
200 B
Rust
use crate::player::commands::{DespawnPlayer, SpawnPlayer};
|
|
use bevy::prelude::*;
|
|
|
|
pub fn respawn_player(mut commands: Commands) {
|
|
commands.queue(DespawnPlayer);
|
|
commands.queue(SpawnPlayer);
|
|
}
|