mirror of
https://github.com/Ed94/Cog.git
synced 2026-08-05 07:08:46 +00:00
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:
@@ -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