use of loge

This commit is contained in:
2022-07-14 18:39:06 +02:00
parent 9ce1f4a1a8
commit ddbba7399d
5 changed files with 8 additions and 8 deletions

View File

@@ -62,7 +62,7 @@ bool World::LoadMap(const protocol::WorldDataPacket* worldData) {
bool World::LoadMapFromFile(const std::string& fileName) {
DataBuffer buffer;
if (!buffer.ReadFile(fileName)) {
utils::LOG(utils::format("[ERROR] : Failed to load map from file %s", fileName.c_str()));
utils::LOGE(utils::format("Failed to load map from file %s", fileName.c_str()));
return false;
}