intent refactor
This commit is contained in:
@@ -5,6 +5,11 @@ use crate::world::World;
|
||||
|
||||
pub fn player_input_system(world: &mut World, input_state: &InputState)
|
||||
{
|
||||
if !world.camera_is_following()
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
let Some((_, camera)) = world.active_camera()
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user