Skip to content

Commit

Permalink
Based on Tron's suggestion, making the startTime var static to avoid …
Browse files Browse the repository at this point in the history
…possible collisions
  • Loading branch information
Areloch committed Sep 8, 2023
1 parent 436cc91 commit c6f0f9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Engine/source/console/console.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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.");

Expand Down

0 comments on commit c6f0f9c

Please sign in to comment.