Skip to content

Commit

Permalink
fixed build failing for the server configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
Klemmbaustein committed Jun 7, 2024
1 parent 18bbf81 commit a94d8f3
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -248,4 +248,4 @@
### Fixes
- Fixed some issues with point lights.
- Fixed issues with shadows.
- Fixed an issue with the default movement.
- Fixed an issue with the default movement.
2 changes: 2 additions & 0 deletions EngineSource/UI/Debug/ConsoleAutoComplete.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#if !SERVER
#include "ConsoleAutoComplete.h"
#include <Engine/Utility/StringUtility.h>

Expand Down Expand Up @@ -120,3 +121,4 @@ void Debug::ConsoleAutoComplete::RenderToBox(UIBox* Target, const std::vector<Re
Target->AddChild((new UIText(TextSize, Segments, Font))->SetPadding(0));
}
}
#endif
4 changes: 3 additions & 1 deletion EngineSource/UI/Debug/ConsoleAutoComplete.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#if !SERVER
#pragma once
#include <UI/UICanvas.h>
#include <UI/UIText.h>
Expand Down Expand Up @@ -25,4 +26,5 @@ namespace Debug

void RenderToBox(UIBox* Target, const std::vector<Recommendation>& Found);
};
}
}
#endif
2 changes: 1 addition & 1 deletion EngineSource/UI/Debug/DebugUI.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#if !RELEASE && !EDITOR
#if !RELEASE && !EDITOR && !SERVER
#pragma once
#include <UI/UICanvas.h>
#include <UI/UIfwd.h>
Expand Down

0 comments on commit a94d8f3

Please sign in to comment.