From c6f0f9cfd3a7c263926f93c381adb8fd48e7fafd Mon Sep 17 00:00:00 2001 From: Areloch Date: Thu, 7 Sep 2023 20:54:22 -0500 Subject: [PATCH] Based on Tron's suggestion, making the startTime var static to avoid possible collisions --- Engine/source/console/console.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Engine/source/console/console.cpp b/Engine/source/console/console.cpp index 5d7ab3f69..5afd26f3a 100644 --- a/Engine/source/console/console.cpp +++ b/Engine/source/console/console.cpp @@ -308,7 +308,7 @@ bool useTimestamp = false; bool useRealTimestamp = false; static U32 initTime = Platform::getRealMilliseconds(); -U32 startTime = initTime; +static U32 startTime = initTime; ConsoleFunctionGroupBegin( Clipboard, "Miscellaneous functions to control the clipboard and clear the console.");