diff --git a/Source/Integration/LockedWrapper.cpp b/Source/Integration/LockedWrapper.cpp index 069cca4d..ccc90e3d 100644 --- a/Source/Integration/LockedWrapper.cpp +++ b/Source/Integration/LockedWrapper.cpp @@ -1,6 +1,5 @@ #include "LockedWrapper.h" -#include "LuprexGameModeBase.h" #include "lpx-drvutil.hpp" #include "lpx-paths.hpp" @@ -31,7 +30,7 @@ void FlxLockedWrapper::InitWrapper() { } } -FString FlxLockedWrapper::FetchStdout() { +FString FlxLockedWrapper::ChannelPrints() { if (Lockable.Wrapper.get_have_prints(Get())) { uint32_t ndata; const char* data; diff --git a/Source/Integration/LockedWrapper.h b/Source/Integration/LockedWrapper.h index 48ea7a3f..ffcc7c76 100644 --- a/Source/Integration/LockedWrapper.h +++ b/Source/Integration/LockedWrapper.h @@ -99,7 +99,7 @@ public: // Fetch Stdout as a string. // - FString FetchStdout(); + FString ChannelPrints(); // Get the current Actor ID. // diff --git a/Source/Integration/LuprexGameModeBase.cpp b/Source/Integration/LuprexGameModeBase.cpp index 80db45c1..df5e5a4d 100644 --- a/Source/Integration/LuprexGameModeBase.cpp +++ b/Source/Integration/LuprexGameModeBase.cpp @@ -112,7 +112,7 @@ void ALuprexGameModeBase::UpdateConsoleOutput() { // Copy Luprex Stdout into the console. FlxLockedWrapper lockedwrap(LockableWrapper); if (Playing) { - FString Text = lockedwrap.FetchStdout(); + FString Text = lockedwrap.ChannelPrints(); if (!Text.IsEmpty()) { ConsoleAddOutput(Text);