Cleanup some expedition logging and formatting

Remove logging unsanitized input

Make unsigned comparison not compare < 0

Cleanup some FormatName and string usage. Some of these strings could
probably be moved instead

Remove unnecessary expedition lookup in a world message handler
This commit is contained in:
hg committed 2020-10-07 21:55:28 -04:00
1 parent 0d8df60358
commit 70ab08fc54
6 files changed
+32 -47

No files matched your search

+1 -1
View File
@@ -95,7 +95,7 @@ void ExpeditionCache::LoadActiveExpeditions()
m_expeditions = ExpeditionDatabase::LoadExpeditions();
auto elapsed = benchmark.elapsed();
LogExpeditions("World caching [{}] expeditions took {}s", m_expeditions.size(), elapsed);
LogExpeditions("World caching [{}] expeditions took [{}s]", m_expeditions.size(), elapsed);
}
void ExpeditionCache::AddExpedition(uint32_t expedition_id)