fix light amp settings and "take off helmet" option

This commit is contained in:
yuni 2024-10-10 06:08:22 +02:00
parent 1b833254f2
commit dc01cbfe12
2 changed files with 2 additions and 2 deletions

View file

@ -33,7 +33,7 @@ impl Plugin for GamePlugin {
app.add_systems(Update, debug.run_if(game_running)); app.add_systems(Update, debug.run_if(game_running));
app.add_systems(PostUpdate, handle_game_event); app.add_systems(PostUpdate, handle_game_event);
app.add_systems(Update, handle_window_focus); 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( app.add_systems(
PostUpdate, PostUpdate,
update_id2pos update_id2pos

View file

@ -69,7 +69,7 @@ impl Plugin for HudPlugin {
app.add_systems( app.add_systems(
PostUpdate, PostUpdate,
( (
update_overlay_visibility.run_if(game_running), update_overlay_visibility,
update_avatar.run_if(on_event::<UpdateAvatarEvent>()), update_avatar.run_if(on_event::<UpdateAvatarEvent>()),
update_ar_overlays update_ar_overlays
.run_if(game_running) .run_if(game_running)