mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-08-05 18:24:12 +00:00
Make logger automatically put a newline (#675)
at the end of the line remove all the newlines in log calls
This commit is contained in:
@@ -35,7 +35,7 @@ Mission::Mission(MissionComponent* missionComponent, const uint32_t missionId) {
|
||||
info = missionsTable->GetPtrByMissionID(missionId);
|
||||
|
||||
if (info == &CDMissionsTable::Default) {
|
||||
Game::logger->Log("Missions", "Failed to find mission (%i)!\n", missionId);
|
||||
Game::logger->Log("Missions", "Failed to find mission (%i)!", missionId);
|
||||
|
||||
return;
|
||||
}
|
||||
@@ -491,7 +491,7 @@ void Mission::YieldRewards() {
|
||||
if (pair.second < 0 || (m_Reward > 0 && pair.first != m_Reward)) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
// If a mission rewards zero of an item, make it reward 1.
|
||||
auto count = pair.second > 0 ? pair.second : 1;
|
||||
|
||||
|
Reference in New Issue
Block a user