fix light amp settings and "take off helmet" option
This commit is contained in:
parent
1b833254f2
commit
dc01cbfe12
|
@ -33,7 +33,7 @@ impl Plugin for GamePlugin {
|
|||
app.add_systems(Update, debug.run_if(game_running));
|
||||
app.add_systems(PostUpdate, handle_game_event);
|
||||
app.add_systems(Update, handle_window_focus);
|
||||
app.add_systems(PreUpdate, handle_player_death.run_if(game_running));
|
||||
app.add_systems(PreUpdate, handle_player_death);
|
||||
app.add_systems(
|
||||
PostUpdate,
|
||||
update_id2pos
|
||||
|
|
|
@ -69,7 +69,7 @@ impl Plugin for HudPlugin {
|
|||
app.add_systems(
|
||||
PostUpdate,
|
||||
(
|
||||
update_overlay_visibility.run_if(game_running),
|
||||
update_overlay_visibility,
|
||||
update_avatar.run_if(on_event::<UpdateAvatarEvent>()),
|
||||
update_ar_overlays
|
||||
.run_if(game_running)
|
||||
|
|
Loading…
Reference in a new issue