Skip to content

Commit c51e4d9

Browse files
authored
Raise log limit to 10,000 entries (#1938)
1 parent 521b709 commit c51e4d9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/shiplog.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ void ShipLog::add(const string& message, glm::u8vec4 color)
99

1010
void ShipLog::add(const string& prefix, const string& message, glm::u8vec4 color)
1111
{
12-
// Cap the ship's log size to 100 entries. If it exceeds that limit,
12+
// Cap the ship's log size to 10,000 entries. If it exceeds that limit,
1313
// start erasing entries from the beginning.
14-
if (entries.size() > 100)
14+
if (entries.size() > 10000)
1515
entries.erase(entries.begin());
1616

1717
// Timestamp a log entry, color it, and add it to the end of the log.

0 commit comments

Comments
 (0)