cleanup and bugfixes
This commit is contained in:
parent
d439ff6d3f
commit
2ba7cfad8d
7 changed files with 20 additions and 24 deletions
|
|
@ -141,7 +141,7 @@ pub fn move_entity(entity: Entity, moving_from: usize, moving_to: usize) {
|
|||
});
|
||||
lock.tile_content[moving_to].iter().for_each(|(_, blocks)| {
|
||||
if *blocks {
|
||||
from_blocked = true;
|
||||
to_blocked = true;
|
||||
}
|
||||
});
|
||||
lock.blocked[moving_from].1 = from_blocked;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue