entity/systems: fixed typo in comment (#566)

This commit is contained in:
terrarier2111 2021-07-18 18:12:42 +02:00 committed by GitHub
parent 9e0dc7cceb
commit d260162642
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -33,7 +33,7 @@ impl ecs::System for ApplyVelocity {
fn update(&mut self, m: &mut ecs::Manager, _: &mut world::World, _: &mut render::Renderer) {
for e in m.find(&self.filter) {
if m.get_component(e, self.movement).is_some() {
// Player's handle their own phyiscs
// Player's handle their own physics
continue;
}
let pos = m.get_component_mut(e, self.position).unwrap();
@ -69,7 +69,7 @@ impl ecs::System for ApplyGravity {
fn update(&mut self, m: &mut ecs::Manager, _: &mut world::World, _: &mut render::Renderer) {
for e in m.find(&self.filter) {
if m.get_component(e, self.movement).is_some() {
// Player's handle their own phyiscs
// Player's handle their own physics
continue;
}
let vel = m.get_component_mut(e, self.velocity).unwrap();