Skip to content

Commit

Permalink
Just renaming one file
Browse files Browse the repository at this point in the history
  • Loading branch information
Juanma committed Jun 21, 2022
1 parent 9f4d4ac commit 1deeb7c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/ui/mod.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use crate::prelude::*;

mod menus;
mod splash_screen;
mod hud;
mod tooltips;
mod popup;
Expand All @@ -26,7 +26,7 @@ impl Plugin for UIPlugin {
{
app
.add_startup_system(setup)
.add_plugin(menus::MenuPlugin)
.add_plugin(splash_screen::MenuPlugin)
.add_plugin(hud::HudPlugin)
.add_plugin(popup::PopUpPlugin)
.add_plugin(tooltips::TooltipsPlugin);
Expand Down
2 changes: 0 additions & 2 deletions src/ui/menus.rs → src/ui/splash_screen.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ fn splash_screen(
turn_state: Res<State<TurnState>>,
top_ui_node_q: Query<Entity, With<TopUINode>>,
) {


// If we are not in StartScreen we need to remove ALL the other UI stuff around the game
if *(turn_state.current()) != TurnState::StartScreen {
let top_ui_node = top_ui_node_q.single();
Expand Down

0 comments on commit 1deeb7c

Please sign in to comment.