瀏覽代碼

Fix build

Ivan Savenko 7 月之前
父節點
當前提交
a3dbb5748c
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lib/CBonusTypeHandler.cpp

+ 1 - 1
lib/CBonusTypeHandler.cpp

@@ -151,7 +151,7 @@ void CBonusTypeHandler::loadItem(const JsonNode & source, CBonusType & dest, con
 	for (const auto & additionalIcon : graphics["subtypeIcons"].Struct())
 	{
 		auto path = ImagePath::fromJson(additionalIcon.second);
-		VLC->identifiers()->requestIdentifier(additionalIcon.second.getModScope(), additionalIcon.first, [&dest, path](int32_t index)
+		LIBRARY->identifiers()->requestIdentifier(additionalIcon.second.getModScope(), additionalIcon.first, [&dest, path](int32_t index)
 		{
 			dest.subtypeIcons[index] = path;
 		});