A few tiny cleanups

This commit is contained in:
2026-02-27 18:40:29 -05:00
parent 8825fe3a1e
commit 2765ea3f07
4 changed files with 5 additions and 9 deletions

View File

@@ -40,9 +40,9 @@ private:
FCriticalSection Mutex;
EngineWrapper Wrapper;
// The Lua Call Assembly Buffer. Used to build up
// a call across multiple UFUNCTION invocations.
// Only accessed from the game thread.
// The Lua Call Assembly Buffer. Used to build up a call
// across multiple UFUNCTION invocations. This is not protected
// by the mutex, so it should only be used by the game thread.
//
FlxStreamBuffer LuaCallBuffer;

View File

@@ -18,7 +18,7 @@
#include "EdGraph/EdGraphPin.h"
#include <string_view>
#include <string>
#include "Kismet/BlueprintFunctionLibrary.h"
#include "LuaCall.generated.h"
class UlxLuaValues;
@@ -116,7 +116,7 @@ public:
////////////////////////////////////////////////////////////
UCLASS()
class INTEGRATION_API UlxLuaCallLibrary : public UObject
class INTEGRATION_API UlxLuaCallLibrary : public UBlueprintFunctionLibrary
{
GENERATED_BODY()

View File

@@ -62,7 +62,6 @@ void ALuprexGameModeBase::ResetToInitialState()
// Reset the clocks.
EngineSeconds = 0.0;
NextRotateCube = 1.0;
}
void ALuprexGameModeBase::UpdateConsoleOutput() {

View File

@@ -119,9 +119,6 @@ public:
// Amount of elapsed time since BeginPlay.
float EngineSeconds = 0.0f;
// When do we next rotate the cube.
float NextRotateCube = 1.0f;
// This allows us to post-tick.
FDelegateHandle OnWorldPostActorTickHandle;