mirror of
https://github.com/griffi-gh/kubi.git
synced 2024-11-28 17:58:52 -06:00
update
This commit is contained in:
parent
ec6402633c
commit
09b0a0160b
|
@ -112,17 +112,18 @@ fn update() -> Workload {
|
||||||
).into_sequential_workload().run_if(is_ingame_or_loading).tag("game_init"),
|
).into_sequential_workload().run_if(is_ingame_or_loading).tag("game_init"),
|
||||||
(
|
(
|
||||||
update_networking,
|
update_networking,
|
||||||
inject_network_responses_into_manager_queue.run_if(is_ingame_or_loading).skip_if_missing_unique::<ChunkTaskManager>(),
|
//I don't know why skip_if_missing_unique is required??
|
||||||
).into_sequential_workload().run_if(is_multiplayer).tag("networking").after_all("game_init"),
|
inject_network_responses_into_manager_queue.run_if(is_ingame_or_loading).skip_if_missing_unique::<ChunkTaskManager>(),
|
||||||
|
).into_sequential_workload().run_if(is_multiplayer).tag("networking"),
|
||||||
(
|
(
|
||||||
switch_to_loading_if_connected
|
switch_to_loading_if_connected
|
||||||
).into_workload().run_if(is_connecting).after_all("networking"),
|
).into_workload().run_if(is_connecting),
|
||||||
(
|
(
|
||||||
update_loading_screen,
|
update_loading_screen,
|
||||||
).into_workload().run_if(is_loading).after_all("game_init"),
|
).into_workload().run_if(is_loading),
|
||||||
(
|
(
|
||||||
update_loaded_world_around_player,
|
update_loaded_world_around_player,
|
||||||
).into_workload().run_if(is_ingame_or_loading).after_all("game_init"),
|
).into_workload().run_if(is_ingame_or_loading),
|
||||||
(
|
(
|
||||||
update_controllers,
|
update_controllers,
|
||||||
generate_move_events,
|
generate_move_events,
|
||||||
|
|
Loading…
Reference in a new issue