Fix cheat window not working on dedicated game server (when using netimgui)
Also add cheat commands: Cog.Cheat <CheatName> -Allies -Enemies -Controlled
This commit is contained in:
1 parent
28f0bead74
commit
af565bf70d
5 files changed
+88
-33
No files matched your search
@@ -149,6 +149,7 @@ void FCogWindow::SetIsVisible(const bool Value)
|
||||
OnWindowVisibilityChanged(Value);
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------------------------------
|
||||
APawn* FCogWindow::GetLocalPlayerPawn() const
|
||||
{
|
||||
const APlayerController* LocalPlayerController = GetLocalPlayerController();
|
||||
|
||||
@@ -14,7 +14,6 @@
|
||||
#include "HAL/IConsoleManager.h"
|
||||
#include "imgui_internal.h"
|
||||
#include "Misc/CoreMisc.h"
|
||||
#include "Misc/EngineVersionComparison.h"
|
||||
#include "NetImgui_Api.h"
|
||||
|
||||
FString UCogWindowManager::ToggleInputCommand = TEXT("Cog.ToggleInput");
|
||||
|
||||
Reference in new issue
Block a user