Fix world
This commit is contained in:
parent
fa61ad59d7
commit
385542e1cb
1 changed files with 2 additions and 2 deletions
|
@ -14,7 +14,7 @@ impl GameWorld {
|
|||
GameWorld { world }
|
||||
}
|
||||
|
||||
pub fn dispatcher(&self) -> specs::AsyncDispatcher<'static, &World> {
|
||||
DispatcherBuilder::new().build_async(&self.world)
|
||||
pub fn dispatcher(self) -> specs::AsyncDispatcher<'static, World> {
|
||||
DispatcherBuilder::new().build_async(self.world)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue